CVE-2026-56306
Capgo - Subkey Enforcement Bypass via x-limited-key-id Header Parsing
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jun 22, 2026
- Updated
- Jun 23, 2026
- Reserved
- Jun 20, 2026
Description
Capgo before 12.128.2 contains a weak parsing vulnerability in the x-limited-key-id header that allows attackers to bypass subkey enforcement by submitting malformed values, zero, or duplicate headers that result in NaN or falsy values. Remote attackers can manipulate the x-limited-key-id header to disable limited key scoping and execute requests using the main API key context instead of restricted subkey permissions.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N | VulnCheck |
| 3.1 | 6.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | VulnCheck |
Weaknesses
- CWE-20 Improper Input Validation
Affected Products
| Product | Versions |
|---|---|
CapgoCapgo |
|
References
- GitHub Security Advisory (GHSA-42vv-8j94-24wj)vendor-advisory
- VulnCheck Advisory: Capgo - Subkey Enforcement Bypass via x-limited-key-id Header Parsingthird-party-advisory
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.