# CVE-2026-56232: Capgo - Subkey Scope Bypass in middlewareKey via x-limited-key-id Header

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/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.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-24T11:53:09.410Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

Capgo before 12.128.2 fails to enforce limited_to_orgs and limited_to_apps constraints on subkeys provided via x-limited-key-id header in middlewareKey function. Attackers can bypass subkey scope restrictions by referencing their own subkeys, causing all downstream route handlers to use the unrestricted parent key instead of the scoped subkey.

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Cap-go/capgo/security/advisories/GHSA-2h89-vcvx-5pvh> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/capgo-subkey-scope-bypass-in-middlewarekey-via-x-limited-key-id-header> (third-party-advisory)

## Sources

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

---

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