Vulnerability

CVE-2026-56280

highCVSS 4.0 7.1Published 22 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /Cap-go/capgo/security/advisories/GHSA-95g7-xwwx-j737
  • www.vulncheck.com /advisories/cap-go-privilege-inversion-in-build-log-stream-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning