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.
PUBLISHED5.2CWE-306
Capgo - Missing Authentication Middleware on GET /private/role_bindings Endpoint
Problem type
Affected products
Capgo
Capgo
< 12.128.2 - AFFECTED
12.128.2 - UNAFFECTED
References
GitHub Security Advisory (GHSA-6c9f-9v99-26ww)
https://github.com/Cap-go/capgo/security/advisories/GHSA-6c9f-9v99-26ww
VulnCheck Advisory: Capgo - Missing Authentication Middleware on GET /private/role_bindings Endpoint
https://www.vulncheck.com/advisories/capgo-missing-authentication-middleware-on-get-private-role-bindings-endpoint
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-56321Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-56321",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"dateUpdated": "2026-06-22T21:04:48.914Z",
"dateReserved": "2026-06-20T12:59:07.918Z",
"datePublished": "2026-06-22T21:04:48.914Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-06-22T21:04:48.914Z"
},
"datePublic": "2026-03-03T00:00:00.000Z",
"title": "Capgo - Missing Authentication Middleware on GET /private/role_bindings Endpoint",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "Capgo",
"product": "Capgo",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThan": "12.128.2"
},
{
"version": "12.128.2",
"status": "unaffected",
"versionType": "semver"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Missing Authentication for Critical Function",
"cweId": "CWE-306",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/Cap-go/capgo/security/advisories/GHSA-6c9f-9v99-26ww",
"name": "GitHub Security Advisory (GHSA-6c9f-9v99-26ww)",
"tags": [
"vendor-advisory"
]
},
{
"url": "https://www.vulncheck.com/advisories/capgo-missing-authentication-middleware-on-get-private-role-bindings-endpoint",
"name": "VulnCheck Advisory: Capgo - Missing Authentication Middleware on GET /private/role_bindings Endpoint",
"tags": [
"third-party-advisory"
]
}
],
"metrics": [
{
"format": "CVSS"
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.3,
"baseSeverity": "MEDIUM"
}
}
],
"credits": [
{
"lang": "en",
"value": "Judel777",
"type": "reporter"
}
]
}
}
}