CVE-2026-56232 PUBLISHED

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

Assigner: VulnCheck
Reserved: 19.06.2026 Published: 24.06.2026 Updated: 24.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor Capgo
Product Capgo
Versions Default: unaffected
  • affected from 0 to 12.128.2 (excl.)
  • Version 12.128.2 is unaffected

Credits

  • Judel777 reporter

References

Problem Types

  • Incorrect Authorization CWE