CVE-2026-56306
MEDIUM
6.4
CVSS 3.1
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.
Metadata
Severity & Metrics
6.4
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| Capgo | Capgo | — | 0 < 12.128.2, 12.128.2 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-20 | cna | Improper Input Validation |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.4 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| 5.3 | MEDIUM | 4.0 | cna | 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 |
References (2)
- GitHub Security Advisory (GHSA-42vv-8j94-24wj) https://github.com/Cap-go/capgo/security/advisories/GHSA-42vv-8j94-24wj
- VulnCheck Advisory: Capgo - Subkey Enforcement Bypass via x-limited-key-id Header Parsing https://www.vulncheck.com/advisories/capgo-subkey-enforcement-bypass-via-x-limited-key-id-header-parsing