What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Capgo 12.128.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56232 or the next vulnerability affects your stack