CVE-2026-56321

Capgo - Missing Authentication Middleware on GET /private/role_bindings Endpoint

State
Published
Severity
6.9 Medium
Published
Jun 22, 2026
Updated
Jun 23, 2026
Reserved
Jun 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NVulnCheck

Weaknesses

  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
CapgoCapgo
  • before 12.128.2Affected
  • 12.128.2Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.