CVE-2026-56321 Details
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.
A vulnerability exists in Capgo (backend Supabase edge functions) versions prior to 12.128.2, where the global authentication middleware is not applied to the GET /private/role_bindings/:org_id endpoint. This omission allows unauthenticated requests to reach the handler, in contrast to the POST and DELETE role_bindings routes, which are properly protected. Although the handler conducts its own authorization check and responds with 'Unauthorized', this flaw creates an inconsistent authentication enforcement across HTTP methods. Such inconsistency could lead to an authorization bypass if the handler's logic is altered.
Update Capgo to version 12.128.2 or later, and ensure that the GET /private/role_bindings/:org_id endpoint is protected with the global authentication middleware, either by applying middleware at the route level or wrapping the route explicitly with the authentication logic.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 22, 2026CISA-ADP
Assessed Jun 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Cap-go/capgo/security/advisories/GHSA-6c9f-9v99-26ww | CISA-ADP | AdvisoryRemedyVendor |
| https://github.com/Cap-go/capgo/security/advisories/GHSA-6c9f-9v99-26ww | [email protected] | AdvisoryRemedyVendor |
| https://www.vulncheck.com/advisories/capgo-missing-authentication-middleware-on-get-private-role-bindings-endpoint | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Capgo | < 12.128.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 23, 2026 | CVE Modified | CISA-ADP |
| Jun 22, 2026 | New CVE Received | [email protected] |
Volerion