Back to overview

CVE-2026-56280

HIGH
7.1
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-56280
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-06-20 01:51 UTC
Published
2026-06-22 21:04 UTC
Last updated
2026-06-22 21:04 UTC
Primary CWE
CWE-862
Missing Authorization
Vendor / Product
Cap-go / capgo
Sources
cve.org  ·  NVD

Severity & Metrics

7.1 HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Affected products (1)
VendorProductPlatformVersions
Cap-go capgo 0 < 12.128.2, 12.128.2
Weakness (CWE)
CWESourceDescription
CWE-862 cna Missing Authorization
CVSS scores (2)
ScoreSeverityVersionSourceVector
7.1 HIGH 4.0 cna 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
7.1 HIGH 3.1 cna CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
References (2)
Back to overview