{"id":"CVE-2026-56280","published":"2026-06-22T21:04:46Z","modified":"2026-06-24T18:05:02Z","title":"Cap-go - Privilege Inversion in Build Log Stream via SSE Disconnect","vendor":"Cap-go","product":"capgo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00316,"percentile":0.252,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/Cap-go/capgo/security/advisories/GHSA-95g7-xwwx-j737","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/cap-go-privilege-inversion-in-build-log-stream-via-sse-disconnect","tags":["third-party-advisory"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":5.04},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"cap-go","affectedVersions":[{"vendor":"Cap-go","product":"capgo","versions":["< 12.128.2"]}],"fixedVersions":[{"vendor":"Cap-go","product":"capgo","versions":["12.128.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-24T18:04:44.259323Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-38368","exploited":false,"provenance":"source"}}