Skip to content

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

HighCVSS 8.7 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Capgo < 12.128.2 12.128.2 Fixed

Affected products

ProductAffected versionsFixed in
Capgo < 12.128.2 12.128.2

References