Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Capgo / Capgo | affected 0 before 12.128.2; unaffected 12.128.2 |
CWE
CWE-863
References
- https://github.com/Cap-go/capgo/security/advisories/GHSA-2h89-vcvx-5pvh
- https://www.vulncheck.com/advisories/capgo-subkey-scope-bypass-in-middlewarekey-via-x-limited-key-id-header
ADP enrichment
No English description supplied.