CVE-2026-56232 Capgo - Subkey Scope Bypass in middlewareKey via x-limited-key-id Header
Attackers can bypass subkey scope restrictions in Capgo by manipulating headers, allowing unauthorized access using unrestricted parent keys.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-56232?
CVE-2026-56232 is a high-severity authentication bypass vulnerability in Capgo, published on 24 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-863
Which versions are affected by CVE-2026-56232?
How do I fix CVE-2026-56232?
No fix has been published for CVE-2026-56232 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-56232 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56232 exists.
Sources
Also known as GHSA-2h89-vcvx-5pvh.