CVE-2026-56231

Capgo - Broken Object Level Authorization in Build Job Control via jobId Parameter

Published Jun 24, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Capgo versions older than 12.128.2 allow an authenticated user possessing the app.build_native permission to exploit a broken object‑level authorization. The POST /build/start/:jobId and POST /build/cancel/:jobId routes verify the supplied app_id only and do not confirm that the jobId in the URL belongs to that app or tenant. Consequently, an attacker can start or cancel builder jobs owned by other tenants, leading to denial of service, unauthorized compute operations, and possible billing discrepancies. This vulnerability represents a CWE‑285 type of flaw involving improper authorization checks.

Affected Systems

All Capgo deployments running a release older than 12.128.2 are affected, regardless of the specific host or cloud platform. The vulnerability impacts the server‑side API handling of build job control operations.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity. EPSS is not available, and the issue is not listed in the CISA KEV catalog. Exploitation requires that the attacker already has valid credentials with the app.build_native privilege, making the threat contingent on authenticated, non‑admin accounts. Once authenticated, the attacker can instruct the server to execute privileged builder commands on arbitrary tenant jobs, providing a direct path to denial of service and potential financial exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Capgo to version 12.128.2 or newer on all affected instances.
  • Restrict the app.build_native permission to only users or roles that truly require build capabilities, revoking it for others.
  • Ensure that the API verifies the jobId against the app_id and tenant context before performing build start or cancel actions; apply this check as a temporary workaround until the official patch is applied.

Generated by OpenCVE AI on June 24, 2026 at 14:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cap-go
Cap-go cap-go
Vendors & Products Cap-go
Cap-go cap-go
Type Values Removed Values Added
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.
Title Capgo - Broken Object Level Authorization in Build Job Control via jobId Parameter
Weaknesses CWE-285
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jun 25, 2026, 1:26 PM
Reserved
Jun 19, 2026, 9:46 PM
Status
Deferred
Published
Jun 24, 2026, 1:16 PM
Modified
Jun 25, 2026, 2:16 PM