CVE-2026-56230 Details
Description
Capgo before 12.128.2 contains a broken object level authorization vulnerability in middlewareKey() that accepts the client-controlled x-limited-key-id header without validating ownership, allowing authenticated users to adopt cross-tenant limited keys. Attackers can supply another tenant's limited key ID to bypass authorization checks and access unauthorized cross-tenant resources across multiple API endpoints.
A broken object level authorization vulnerability has been identified in Capgo versions prior to 12.128.2. The issue arises in the 'middlewareKey()' function, which accepts the client-controlled 'x-limited-key-id' header without validating ownership. This flaw allows authenticated users to adopt cross-tenant limited keys by supplying another tenant's limited key ID, bypassing authorization checks and accessing unauthorized cross-tenant resources across multiple API endpoints.
To address this vulnerability, implement ownership validation in the 'middlewareKey()' function before applying the subkey context. This can be done by adding a check to ensure that the limited key ID belongs to the authenticated user, similar to the validation already performed in another part of the code.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 30, 2026CISA-ADP
Assessed Jul 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Cap-go/capgo/security/advisories/GHSA-cppm-733w-hg86 | [email protected] | AdvisoryExploitTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/capgo-broken-object-level-authorization-via-x-limited-key-id-header | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Capgo | < 12.128.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 1, 2026 | CVE Modified | CISA-ADP |
| Jun 30, 2026 | New CVE Received | [email protected] |
Volerion