CVE-2026-56280: Cap-go - Privilege Inversion in Build Log Stream via SSE Disconnect

Published Jun 22, 2026
·
Updated

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 BUILDERAPIKEY when clients disconnect, bypassing the app.buildnative 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 Software

1 affected component
Cap-go Cap-go<12.128.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Cap-go to a version that resolves this vulnerability.

    Fixed in 12.128.2

Event History

Jun 22, 2026
CVE Published
via MITRE·09:04 PM
Data Sourced
via MITRE·09:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-56280?

The severity of CVE-2026-56280 is rated high at 7.1.

2

How do I fix CVE-2026-56280?

To fix CVE-2026-56280, update Cap-go to version 12.128.2 or later.

3

What type of vulnerability is CVE-2026-56280?

CVE-2026-56280 is a privilege inversion vulnerability.

4

What impact does CVE-2026-56280 have on API key holders?

CVE-2026-56280 allows read-only API key holders to cancel running native builds.

5

What endpoint is affected by CVE-2026-56280?

The endpoint affected by CVE-2026-56280 is GET /build/logs/:jobId.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203