CVE-2026-56280
published high CVSS 4.0 · 7.1Cap-go - Privilege Inversion in Build Log Stream via SSE Disconnect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cap-go | — | capgo0 to < 12.128.2 (affected · semver) · 12.128.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cap-go | capgo | 0 to < 12.128.2 (affected · semver)12.128.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-862 Missing Authorization
References
2- GitHub Security Advisory (GHSA-95g7-xwwx-j737) https://github.com/Cap-go/capgo/security/advisories/GHSA-95g7-xwwx-j737
- VulnCheck Advisory: Cap-go - Privilege Inversion in Build Log Stream via SSE Disconnect https://www.vulncheck.com/advisories/cap-go-privilege-inversion-in-build-log-stream-via-sse-disconnect
Provider assertions
2VulnCheck · cna
Cap-go - Privilege Inversion in Build Log Stream via SSE Disconnect
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2b731f000b1db87f89fd0aab9ada9aa115ef29eac54b4599d1e3784e3295e5ab
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record