Skip to main content

Capgo CVE-2026-56306

| EUVDEUVD-2026-38369 MEDIUM
Improper Input Validation (CWE-20)
2026-06-22 VulnCheck
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid restricted Capgo subkey
  2. Delivery
    Craft HTTP request with malformed x-limited-key-id header
  3. Exploit
    Trigger falsy/NaN evaluation in server parser
  4. Execution
    Bypass subkey scoping gate
  5. Persist
    Execute request under main API key context
  6. Impact
    Access or modify resources beyond subkey permissions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires possession of a valid Capgo API subkey credential for the target account. The attacker must have network access to the Capgo API endpoint and the ability to set arbitrary HTTP request headers. The bypass is triggered specifically when the x-limited-key-id header is set to a value that evaluates as falsy or NaN in the server-side parsing logic - including integer zero, a NaN-coercible string, an empty value, or by sending duplicate x-limited-key-id headers that produce an array type. Exploitation is limited to users who already hold at minimum a subkey-level credential; fully unauthenticated attackers cannot exploit this flaw. The vulnerability is only relevant in deployments where subkey scoping is in use as a permission boundary - deployments using only full main API keys are unaffected by the permission escalation but face no additional risk from this flaw.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 5.3 Medium. The PR:L metric confirms exploitation requires a valid subkey credential - unauthenticated attackers cannot trigger the bypass. AC:L reflects that no complex preconditions or race conditions are needed; once a subkey is in hand, the bypass is deterministic and repeatable. The impact metrics VC:L/VI:L indicate partial confidentiality and integrity gain, consistent with a permission escalation rather than full system compromise - the attacker gains main-key scope, not OS-level access. EPSS data is not included in the available intelligence, limiting probabilistic exploitation forecasting. There is no CISA KEV listing and no POC code is referenced, which reduces immediate urgency. However, the attack is mechanically trivial for anyone already possessing a subkey credential, making insider threat or compromised-credential scenarios the primary risk vector. Organizations using Capgo's subkey model for privilege separation - such as CI/CD pipelines with scoped tokens - face the most meaningful exposure, as the entire permission isolation model is rendered ineffective by this flaw.

Exploit ScenarioDerived

An attacker possessing a valid but scope-restricted Capgo subkey submits an API request with the x-limited-key-id header set to 0 or a value that coerces to NaN in the server's parsing logic. The falsy evaluation causes the subkey scoping gate to be skipped, and the request is processed under the full main API key's permission set, granting the attacker access to resources and actions that the subkey was explicitly configured to prohibit. No public proof-of-concept code has been identified, but the technique requires no specialized tooling - a standard HTTP client with header manipulation capability suffices.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 22, 2026

Subkey permission bypass in Capgo before 12.128.2 allows authenticated API users to escalate from restricted subkey scope to full main API key privileges by sending malformed x-limited-key-id header values. The parsing flaw - triggered by submitting zero, NaN-coercible, or duplicate header values - causes the subkey scoping enforcement to evaluate to falsy, silently falling through to the unrestricted main API key context. No public exploit code has been identified at time of analysis, and this CVE is not listed in the CISA KEV catalog, but the bypass is mechanically straightforward for any holder of a valid subkey credential.

RemediationAI

Upgrade Capgo to version 12.128.2 or later, which is confirmed as the patched release per the vendor security advisory GHSA-42vv-8j94-24wj at https://github.com/Cap-go/capgo/security/advisories/GHSA-42vv-8j94-24wj. As a compensating control prior to patching, operators should audit all issued subkeys and consider revoking any that are not actively in use, reducing the attack surface. API gateway or WAF rules that enforce strict numeric validation and reject duplicate or empty x-limited-key-id header values can block the malformed-header bypass paths, though this requires careful tuning to avoid disrupting legitimate traffic. Monitoring API logs for requests where x-limited-key-id is absent, zero, or produces a header array may help detect exploitation attempts. The primary and recommended action remains patching to 12.128.2.

Affected VersionsENISA

capgo 0 <12.128.2

Affected Packages

euvd capgo fix: 12.128.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Capgo (CPE: cpe:2.3:a:capgo:capgo:*:*:*:*:*:*:*:*) is an over-the-air (OTA) update delivery platform for Capacitor-based mobile applications. Its API implements a subkey permission model where the x-limited-key-id HTTP header is used to scope incoming requests to a restricted credential context with reduced privileges. CWE-20 (Improper Input Validation) is the root cause: the server-side parsing logic fails to sanitize or strictly validate the header value before using it in an authorization decision. In JavaScript/TypeScript environments, values like 0, empty strings, or NaN are falsy, meaning a strict equality or truthiness check against a well-formed key ID silently fails and the code falls back to the main API key path. Duplicate header submission can produce array-type values that similarly fail numeric comparison, producing the same bypass. The flaw is a classic input validation gap at an authorization gate rather than a cryptographic or protocol-level weakness.

Know when Capgo gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

PR:L because a valid subkey credential is required; S:U as escalation remains within the Capgo API boundary; no availability impact evident.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 22, 2026 - 23:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
Niche OTA update platform for Capacitor mobile apps only.
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Capgo

View all
CVE-2026-56081 CRITICAL
9.3 Jun 19

Account pre-registration hijack in Capgo before 12.128.2 lets a remote unauthenticated attacker claim an account under a

CVE-2026-56223 CRITICAL
9.3 Jun 24

Cross-domain SSO account takeover in Capgo before 12.128.2 allows an attacker with enterprise org admin access and a mal

CVE-2026-56073 CRITICAL
9.3 Jun 19

Authentication bypass in Capgo prior to version 12.128.2 lets attackers defeat email-based OTP verification by tampering

CVE-2026-56237 CRITICAL
9.3 Jun 24

Authentication bypass in Capgo before 12.128.2 lets remote unauthenticated attackers mint arbitrary API keys by tamperin

CVE-2026-56324 HIGH
8.8 Jun 22

Rate-limit bypass in Capgo versions prior to 12.128.2 lets remote unauthenticated attackers flood the channel_self endpo

CVE-2026-56245 HIGH
8.8 Jun 24

Cross-tenant data poisoning in Supabase Capgo before 12.128.2 allows remote unauthenticated attackers to corrupt billing

CVE-2026-56233 HIGH
8.7 Jun 30

Server-side privilege escalation in Capgo before 12.128.2 lets authenticated users holding build permissions abuse a pat

CVE-2026-56323 HIGH
8.7 Jun 22

Unauthenticated information disclosure in Capgo before 12.128.2 lets remote attackers query the /functions/v1/channel_se

CVE-2026-56238 HIGH
8.7 Jul 12

Unauthenticated information disclosure in Capgo before 12.128.2 exposes confidential business metrics through the Supaba

CVE-2026-56248 HIGH
8.7 Jun 23

Unauthenticated denial of service in Cap-go capgo (capgo-backend) before 12.128.12 allows remote attackers to exhaust Po

CVE-2026-56305 HIGH
8.7 Jul 10

Account takeover in Capgo before 12.128.2 stems from a password-change endpoint that omits current-password validation (

CVE-2026-56300 HIGH
8.7 Jun 30

Information disclosure in Capgo (Capacitor live-update/OTA platform) before 12.128.2 lets unauthenticated callers abuse

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy