# CVE-2026-56306: Capgo - Subkey Enforcement Bypass via x-limited-key-id Header Parsing

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-22T21:04:46.832Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Capgo Capgo: before 12.128.2 (not affected: 12.128.2)

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Cap-go/capgo/security/advisories/GHSA-42vv-8j94-24wj> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/capgo-subkey-enforcement-bypass-via-x-limited-key-id-header-parsing> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-56306](https://www.cve.org/CVERecord?id=CVE-2026-56306), CVE Terms of Use, modified 2026-06-23
- NVD: [CVE-2026-56306](https://nvd.nist.gov/vuln/detail/CVE-2026-56306), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-56306 · Whole record: https://cve.day/CVE-2026-56306.json · Rebuilt by cve.day 2026-11-25T22:59:25.429Z
