CVE-2026-56321

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

Published Jun 22, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from the missing authentication middleware on the GET /private/role_bindings/:org_id endpoint in Capgo’s backend Supabase edge functions prior to version 12.128.2. Without the global authentication guard, unauthenticated HTTP GET requests bypass the middleware layer and reach the handler. Though the handler contains its own authorization check that currently returns an Unauthorized response, the inconsistency allows a potential authorisation bypass if the handler logic is changed or if the check is omitted in future updates.

Affected Systems

Affected systems include the Capgo backend service provided by Capgo, specifically deployments running the 12.127.x or earlier releases of the Capgo backend Supabase edge functions. Versions before 12.128.2 do not enforce authentication on the GET /private/role_bindings endpoint, whereas POST and DELETE routes are correctly protected. Applications that rely on this functionality and have integrated the unpatched backend are vulnerable.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity risk, and the vulnerability is not listed in the CISA KEV catalog. EPSS data is not available, so the exact exploitation probability is unknown. The likely attack vector is an unauthenticated HTTP GET request to /private/role_bindings/:org_id. If an attacker achieves bypass by modifying the handler logic, they could access protected role binding information, potentially escalating privileges. Current mitigations are limited to the pending patch; until then, monitoring for any unauthorized GET requests and ensuring strict access controls in downstream services is advised.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Capgo backend to version 12.128.2 or later to apply the missing authentication middleware.
  • Apply an explicit authentication check to the GET /private/role_bindings/:org_id route in any unpatched deployments to enforce proper access control.
  • Continuously monitor logs for unauthenticated GET requests to the /private/role_bindings endpoint and ensure downstream services enforce strict authorization.

Generated by OpenCVE AI on June 23, 2026 at 00:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cap-go
Cap-go cap-go
Vendors & Products Cap-go
Cap-go cap-go
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Capgo - Missing Authentication Middleware on GET /private/role_bindings Endpoint
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jun 23, 2026, 1:54 PM
Reserved
Jun 20, 2026, 12:59 PM
Status
Deferred
Published
Jun 22, 2026, 10:16 PM
Modified
Jun 23, 2026, 3:16 PM