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.
Published: 2026-06-22
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 22 Jun 2026 22:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-22T21:04:48.914Z

Reserved: 2026-06-20T12:59:07.918Z

Link: CVE-2026-56321

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-23T00:15:03Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function