CVE-2026-56232
published high CVSS 4.0 · 8.7Capgo - Subkey Scope Bypass in middlewareKey via x-limited-key-id Header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Capgo | — | Capgo0 to < 12.128.2 (affected · semver) · 12.128.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Capgo | Capgo | 0 to < 12.128.2 (affected · semver)12.128.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-863 Incorrect Authorization
References
2- GitHub Security Advisory (GHSA-2h89-vcvx-5pvh) https://github.com/Cap-go/capgo/security/advisories/GHSA-2h89-vcvx-5pvh
- VulnCheck Advisory: Capgo - Subkey Scope Bypass in middlewareKey via x-limited-key-id Header https://www.vulncheck.com/advisories/capgo-subkey-scope-bypass-in-middlewarekey-via-x-limited-key-id-header
Provider assertions
2VulnCheck · cna
Capgo - Subkey Scope Bypass in middlewareKey via x-limited-key-id Header
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 789a22011f6e09dca7d147804bca42b46a05b140f33e87175d92c1bd1a7e6d16
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record