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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Capgo | Capgo | < 12.128.2 | 12.128.2 |
References
- GitHub Security Advisory (GHSA-42vv-8j94-24wj) vendor-advisory
- VulnCheck Advisory: Capgo - Subkey Enforcement Bypass via x-limited-key-id Header Parsing third-party-advisory