What’s Vulnerable › Vulnerabilities
CVE-2026-56321: Capgo - Missing Authentication Middleware on GET /private/role_bindings Endpoint
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-22 · updated 2026-06-23
- Weakness: CWE-306
Description
Capgo (backend Supabase edge functions) before 12.128.2 does not apply the global authentication middleware to the GET /private/role_bindings/:org_id endpoint, unlike the POST and DELETE role_bindings routes, so unauthenticated requests reach the handler instead of being rejected at the middleware layer. The handler still performs its own authorization check and returns Unauthorized, so no direct data exposure occurs; the flaw is inconsistent authentication enforcement across HTTP methods that could enable authorization bypass if the handler logic changes.
Affected products
- Capgo: before 12.128.2 — fixed in 12.128.2
How to fix
Upgrade to a fixed version: Capgo 12.128.2. Check the vendor advisory for mitigations.
References
- https://github.com/Cap-go/capgo/security/advisories/GHSA-6c9f-9v99-26ww
- https://www.vulncheck.com/advisories/capgo-missing-authentication-middleware-on-get-private-role-bindings-endpoint
- https://github.com/Cap-go/capgo/security/advisories/GHSA-6c9f-9v99-26ww
Get alerted when CVE-2026-56321 or the next vulnerability affects your stack