Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain read-only Capgo API key
-
DeliveryIdentify active native build jobId
-
ExploitOpen SSE stream to GET /build/logs/:jobId
-
ExecutionAbruptly close connection
-
PersistServer fires cancelBuildOnDisconnect with BUILDER_API_KEY
-
ImpactNative build aborted, CI/CD pipeline disrupted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must possess a valid Capgo API key with at least read-only scope and network reachability to the Capgo backend's GET /build/logs/:jobId SSE endpoint, and there must be an active native build job (a known or guessable :jobId) to target. Limiting factors: the issue only affects Capgo deployments prior to 12.128.2; no anonymous/unauthenticated access works (PR:L), and impact is restricted to canceling builds - there is no code execution, no data read, and no scope change to other systems. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms a network-reachable, low-complexity attack requiring only low privileges (a valid read-only API key) and no user interaction; impact is concentrated on availability (VA:H) with limited integrity impact (VI:L) and no confidentiality loss, aligning with the build-cancellation behavior. EPSS and KEV data were not provided, and the CVE is not listed in CISA KEV at the time of analysis, so there is no confirmed in-the-wild exploitation. Real-world risk is meaningful for teams using Capgo in CI/CD pipelines because any insider or compromised low-privilege API key can repeatedly kill native builds, but the blast radius is bounded to Capgo deployments and to availability/CI disruption rather than data exposure or RCE - making this a targeted DoS/sabotage concern rather than a critical mass-exploitation issue. |
| Exploit ScenarioDerived | An attacker (or disgruntled insider) holding a read-only Capgo API key opens an SSE connection to GET /build/logs/:jobId for an in-progress native build, then immediately drops the TCP connection; the server's abort handler fires cancelBuildOnDisconnect() using BUILDER_API_KEY and aborts the build. Repeated in a loop, this denies the victim team the ability to ship native builds through CI/CD. No public exploit identified at time of analysis, but the pattern is trivial to script with curl. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Privilege inversion in Cap-go (Capgo) before 12.128.2 lets holders of read-only API keys cancel running native builds by abusing the GET /build/logs/:jobId SSE endpoint. On client disconnect the server invokes cancelBuildOnDisconnect() using the privileged BUILDER_API_KEY, bypassing the app.build_native permission enforced on POST /build/cancel/:jobId. No public exploit identified at time of analysis, but the issue is trivially reproducible against any deployment exposing the log stream.
RemediationAI
Upgrade Capgo to version 12.128.2 or later, where the disconnect handler enforces the app.build_native permission against the caller's identity rather than invoking the privileged BUILDER_API_KEY path; details are in the vendor advisory at https://github.com/Cap-go/capgo/security/advisories/GHSA-95g7-xwwx-j737. Until the upgrade is applied, audit and rotate any read-only API keys that are not strictly necessary, restrict network access to the /build/logs/:jobId endpoint at the reverse proxy or WAF layer (allowing only trusted CI/CD orchestrators), and monitor build-cancellation events for unexpected sources - noting that proxy-level blocking will also break legitimate log streaming for affected clients.
Affected VersionsENISA
Affected Packages
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 is an open-source mobile live-update and native build service for Capacitor apps; the affected component is its build/log streaming API delivered over Server-Sent Events. The root cause is CWE-862 (Missing Authorization): the abort listener attached to the SSE stream is wired to a privileged internal action (build cancellation) using the server's BUILDER_API_KEY rather than the caller's identity, so authorization on the cancel path is effectively skipped. The affected CPE (cpe:2.3:a:cap-go:capgo:*) covers all Capgo versions prior to 12.128.2, where the disconnect handler unconditionally calls the privileged cancel function instead of re-checking the app.build_native permission tied to the caller.
Know when Cap Go 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Remote, low-complexity, requires a low-privilege read-only API key (PR:L), no UI; high availability impact from build cancellation, limited integrity, no confidentiality loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Cap-go before 12.128.2 contains a privilege inversion vulnerability in GET /build/logs/:jobId that allows read-only API key holders to cancel running native builds. The endpoint registers an abort listener on the SSE stream that unconditionally invokes cancelBuildOnDisconnect() using the privileged server-side BUILDER_API_KEY when clients disconnect, bypassing the app.build_native permission check required by the explicit POST /build/cancel/:jobId endpoint. Attackers with read-only API keys can repeatedly disrupt native build operations and CI/CD workflows by opening the log stream and dropping the connection.
Executive ViewAI
Cap-go (Capgo) deployments before version 12.128.2 are vulnerable to a privilege escalation flaw that allows attackers with basic API credentials to disrupt running native builds, creating a denial-of-service risk to software delivery pipelines and potentially affecting deployment schedules and supply chain continuity. Organizations using Capgo for mobile or native application builds face potential interruptions to their release cycles and should assess exposure immediately.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /build/logs/:jobId endpoint to authorized CI/CD systems; (2) Implement rate limiting on build cancellation operations; (3) Monitor and alert on unexpected build cancellations tied to API key usage; (4) Enforce regular rotation of read-only API keys; (5) Segment CI/CD infrastructure to limit blast radius if credentials are compromised; (6) Implement step-up authentication requirements for sensitive API operations; (7) Actively monitor Capgo vendor advisories for patch availability.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Account pre-registration hijack in Capgo before 12.128.2 lets a remote unauthenticated attacker claim an account under a
Improper access control in Capgo (capgo.app) lets any holder of an ordinary full API key forge a trusted SSO provider by
Authentication bypass in Capgo prior to version 12.128.2 lets attackers defeat email-based OTP verification by tampering
Authorization bypass in Capgo (capgo.app), a live-update/OTA platform for Capacitor mobile apps, allows a de-provisioned
Cross-tenant data poisoning in Supabase Capgo before 12.128.2 allows remote unauthenticated attackers to corrupt billing
Unauthenticated denial of service in Cap-go capgo (capgo-backend) before 12.128.12 allows remote attackers to exhaust Po
Unauthenticated retrieval of deleted over-the-air update bundles from capgo.app through version 12.129.0 is possible via
Capgo's direct exposure of the public.org_users table through Supabase PostgREST lets an authenticated user who already
Authenticated principals who hold an app-scoped upload/write/all API key with upload+ rights - or any user granted write
Cross-tenant metadata modification in Capgo before 12.244.1 allows an authenticated attacker to alter image object metad
Privilege escalation in the Capgo (capgo.app) backend through version 12.242.4 allows an authenticated API key holder to
Privilege escalation in Capgo (capgo.app) before 12.267.1 allows a principal holding the apikey_manager role to rotate a
EUVD-2026-38368
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB