CVE-2026-56306: Capgo - Subkey Enforcement Bypass via x-limited-key-id Header Parsing

Published Jun 22, 2026
·
Updated

Capgo before 12.128.2 contains a weak parsing vulnerability in the x-limited-key-id header that allows attackers to bypass subkey enforcement by submitting malformed values, zero, or duplicate headers that result in NaN or falsy values. Remote attackers can manipulate the x-limited-key-id header to disable limited key scoping and execute requests using the main API key context instead of restricted subkey permissions.

Affected Software

1 affected component
npm/capgo<12.128.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Capgo to a version that resolves this vulnerability.

    Fixed in 12.128.2

Event History

Jun 22, 2026
CVE Published
via MITRE·09:04 PM
Data Sourced
via MITRE·09:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A remote attacker needs a valid main API key and the ability to send requests with a crafted x-limited-key-id header. The issue enables that key to be used outside the restrictions intended for a limited subkey.

2

Which header values can trigger the bypass?

The affected parsing accepts malformed values, zero, or duplicate x-limited-key-id headers when they produce NaN or another falsy value. These values can cause limited-key scoping to be skipped.

3

What is the impact of a successful bypass?

Requests execute in the main API key context rather than under the restricted permissions of the limited subkey. This can expose actions and data that the subkey was intended to limit.

4

What versions are affected?

Capgo versions before 12.128.2 are affected. Upgrading to 12.128.2 or later addresses the affected version range.

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