Description
Capgo before 12.128.2 contains a broken access control vulnerability in the organization management API where a scoped API key (limited_to_orgs) inherits its owner-user's permissions, allowing destructive cross-organization actions. When a user is an admin in two organizations and creates a write-mode API key restricted to one organization, that key can still perform destructive operations (e.g., DELETE /organization, DELETE /organization/members) against another organization. The root cause is route-level authorization (rbac_check_permission_direct) that evaluates the key owner's user privileges before enforcing the API key's limited_to_orgs scope.
Published: 2026-07-08
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capgo before version 12.128.2 contains a broken access control flaw (CWE‑285). A scoped API key that is limited to one organization inherits its owner‑user’s full privileges, allowing it to perform destructive operations such as deleting an organization or removing the organization’s members. The root cause is that the route‑level authorization method evaluates the API key owner's privileges before enforcing the limited_to_orgs scope, so the key’s limited scope is effectively ignored.

Affected Systems

Any deployment of Capgo using a version earlier than 12.128.2 is affected. The flaw exists in the organization management API endpoints that process DELETE requests on organizations and organization members. Administrators who own multiple organizations and generate scoped API keys are most at risk.

Risk and Exploitability

With a CVSS score of 7.2, the vulnerability is in the moderate‑to‑high range, while an EPSS score of less than 1% indicates a very low but non‑zero exploitation likelihood. The flaw is not listed in CISA’s KEV catalog. Exploitation requires an administrator with privileges in at least two organizations and the ability to create a scoped write‑mode API key restricted to one organization. Because the key inherits the administrator’s full rights, it can carry out destructive actions against other organizations the attacker can reach, producing a significant risk for environments where multi‑organization admin rights exist.

Generated by OpenCVE AI on July 26, 2026 at 17:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Capgo version 12.128.2 or later, where the access control issue has been fixed.
  • Revoke or invalidate any scoped API keys tied to users with administrative rights across multiple organizations until the patch is applied.
  • Audit current API keys and user roles to ensure no cross‑organization privileges remain, and remove or reassign multi‑organization admin rights where unnecessary.

Generated by OpenCVE AI on July 26, 2026 at 17:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Cap-go
Cap-go cap-go
Vendors & Products Cap-go
Cap-go cap-go

Wed, 08 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Description Capgo before 12.128.2 contains a broken access control vulnerability in the organization management API where a scoped API key (limited_to_orgs) inherits its owner-user's permissions, allowing destructive cross-organization actions. When a user is an admin in two organizations and creates a write-mode API key restricted to one organization, that key can still perform destructive operations (e.g., DELETE /organization, DELETE /organization/members) against another organization. The root cause is route-level authorization (rbac_check_permission_direct) that evaluates the key owner's user privileges before enforcing the API key's limited_to_orgs scope.
Title Capgo - Cross-Organization Authorization Bypass via Scoped API Key Privilege Inheritance
Weaknesses CWE-285
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-08T14:23:48.803Z

Reserved: 2026-06-19T21:53:16.001Z

Link: CVE-2026-56246

cve-icon Vulnrichment

Updated: 2026-07-08T14:23:33.496Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:00:05Z

Weaknesses