CVE-2026-56231 Details
Description
Capgo before 12.128.2 contains a broken object level authorization (BOLA) vulnerability in the POST /build/start/:jobId and POST /build/cancel/:jobId endpoints. The handlers authorize the request based only on the attacker-controlled app_id supplied in the request body and never verify that the jobId in the URL belongs to that app_id (or the same tenant/org) before issuing privileged builder commands with the server-held builder API key. An authenticated user with the app.build_native permission for any app they control can start or cancel arbitrary builder jobs belonging to other tenants by supplying a victim jobId, resulting in cross-tenant build sabotage (denial of service), unauthorized compute actions, and potential billing impact.
A broken object level authorization vulnerability has been identified in Capgo versions prior to 12.128.2. This vulnerability exists in the POST /build/start/:jobId and POST /build/cancel/:jobId endpoints. The issue arises because the request is authorized solely based on the app_id provided in the request body, without verifying whether the jobId in the URL corresponds to that app_id or the same tenant/organization. As a result, an authenticated user with the app.build_native permission can start or cancel builder jobs belonging to other tenants, leading to cross-tenant build sabotage, unauthorized compute actions, and potential billing impacts.
To address this vulnerability, it is recommended to implement server-side checks before calling the builder start or cancel actions. This includes fetching the build request row by the jobId, verifying that it belongs to the same tenant and matches the request context, and returning a 404 error if there is a mismatch or the row is missing. Consider removing the client-supplied app_id from the start and cancel requests and instead derive it from the build request row.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 24, 2026CISA-ADP
Assessed Jun 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Cap-go/capgo/security/advisories/GHSA-72j4-9qp5-hfrg | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/Cap-go/capgo/security/advisories/GHSA-72j4-9qp5-hfrg | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/capgo-broken-object-level-authorization-in-build-job-control-via-jobid-parameter | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-285 | Improper Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Capgo | < 12.128.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 25, 2026 | CVE Modified | CISA-ADP |
| Jun 24, 2026 | New CVE Received | [email protected] |
Volerion