CVE-2026-56280CWE-862

Cap-go - Privilege Inversion in Build Log Stream via SSE Disconnect

High · published June 22, 2026

CVSS v4.0
7.1
EPSS
0%
Percentile
29.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.1 · HIGH
Vector
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
EPSS
0.00372 · 29.9th percentile
Weakness
CWE-862 · Missing Authorization
Published
2026-06-22T21:04Z
EPSS history
Timeline
  • 22 JUN 21:04Z
    Cap-go - Privilege Inversion in Build Log Stream via SSE Disconnect
    cvelistv5