Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/Cap-go/capgo/security/advisories/GHSA-42vv-8j94-24wj
- https://www.vulncheck.com/advisories/capgo-subkey-enforcement-bypass-via-x-limit
- https://github.com/Cap-go/capgo/security/advisories/GHSA-42vv-8j94-24wj
FAQ
What is CVE-2026-56306?
CVE-2026-56306 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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...
How severe is CVE-2026-56306?
CVE-2026-56306 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-56306?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.