CVE-2026-56321 Capgo - Missing Authentication Middleware on GET /private/role_bindings Endpoint
Missing authentication middleware on a specific endpoint allows unauthenticated requests to reach the handler, potentially enabling future authorization bypasses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-56321?
CVE-2026-56321 is a medium-severity missing authorization vulnerability in Capgo, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-306
Which versions are affected by CVE-2026-56321?
How do I fix CVE-2026-56321?
No fix has been published for CVE-2026-56321 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-56321 being exploited?
There is no known exploitation of CVE-2026-56321 in the wild and no public exploit code.
Sources
Also known as GHSA-6c9f-9v99-26ww.