Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/Cap-go/capgo/security/advisories/GHSA-95g7-xwwx-j737
- https://www.vulncheck.com/advisories/cap-go-privilege-inversion-in-build-log-str
- https://github.com/Cap-go/capgo/security/advisories/GHSA-95g7-xwwx-j737
FAQ
What is CVE-2026-56280?
CVE-2026-56280 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 lis...
How severe is CVE-2026-56280?
CVE-2026-56280 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-56280?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.