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

Published Jun 24, 2026
·
Updated

Capgo before 12.128.2 fails to enforce limitedtoorgs and limitedtoapps 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 Software

1 affected component
npm/capgo<12.128.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Capgo - middlewareKey (subkey scope bypass via x-limited-key-id) to a version that resolves this vulnerability.

    Fixed in 12.128.2
  2. Compensating control

    Until upgraded, do not allow clients to supply or control the x-limited-key-id header used by the middlewareKey function; block or strip the x-limited-key-id header at the edge (e.g., reverse proxy/WAF) so scoped subkeys cannot be bypassed.

Event History

Jun 24, 2026
CVE Published
via MITRE·11:53 AM
Data Sourced
via MITRE·11:53 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-56232?

The severity of CVE-2026-56232 is high with a CVSS score of 8.8.

2

How do I fix CVE-2026-56232?

To fix CVE-2026-56232, update Capgo to version 12.128.2 or later.

3

What vulnerability does CVE-2026-56232 expose in the Capgo software?

CVE-2026-56232 exposes a subkey scope bypass vulnerability in the middlewareKey function.

4

Who is affected by CVE-2026-56232?

Any user of Capgo versions prior to 12.128.2 is affected by CVE-2026-56232.

5

What can an attacker do with CVE-2026-56232?

An attacker can bypass subkey scope restrictions using their own subkeys, leading to unauthorized access to downstream route handlers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203