CVE-2026-56306

Capgo - Subkey Enforcement Bypass via x-limited-key-id Header Parsing

State
Published
Severity
5.3 Medium
Published
Jun 22, 2026
Updated
Jun 23, 2026
Reserved
Jun 20, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NVulnCheck
3.16.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NVulnCheck

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
CapgoCapgo
  • before 12.128.2Affected
  • 12.128.2Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.