CVE-2026-56229: Capgo Build Logs Authorization Bypass – API Scope Escape
Capgo versions before 12.128.2 have a flaw that lets authenticated users view build logs and status information from applications they shouldn't have access to. An attacker with API credentials for one application can trick the system into revealing build details from a different application by mixing and matching app identifiers with job identifiers from unauthorized apps. This could expose sensitive build logs, metadata, and potentially hardcoded credentials.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-639
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-21 / 2026-06-22
NVD description (verbatim)
Capgo before 12.128.2 contains an authorization bypass vulnerability in the /build/status and /build/logs endpoints that allows attackers to access build jobs belonging to different applications by supplying a mismatched app_id and job_id combination. Limited API keys restricted to a single app can retrieve build status and logs from other apps by providing an authorized app_id while using a job_id from an unauthorized app, exposing sensitive build information including logs, metadata, and potentially credentials.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in the /build/status and /build/logs endpoints of Capgo prior to version 12.128.2. The authorization control fails to properly validate that the supplied app_id and job_id belong to the same logical scope when processing requests from restricted API keys. An attacker can provide an app_id associated with an authorized credential alongside a job_id from an unauthorized application, bypassing the intended scope restrictions. The flaw is classified as CWE-639 (Authorization Bypass Through User-Controlled Key), indicating improper validation of API key scope boundaries.
Business impact
This vulnerability directly threatens CI/CD pipeline confidentiality. Build logs and metadata often contain environment variables, deployment secrets, API tokens, database connection strings, and source code patterns. Competitors or malicious actors with limited API access could harvest sensitive operational information, intellectual property, and credentials from competitor or partner applications running on the same Capgo instance. This is particularly dangerous in multi-tenant environments where API key segmentation is the primary trust boundary.
Affected systems
Capgo versions prior to 12.128.2 are affected. This includes all earlier minor and patch versions. Users operating self-hosted or managed Capgo instances with multiple applications and restricted API keys are at highest risk, particularly in shared CI/CD environments or when Capgo is used across multiple teams or customers.
Exploitability
Exploiting this vulnerability requires valid API credentials (CWE-639 vector: PR:L indicates low privilege requirement). An attacker must already possess an API key, but scope bypass is trivial once authenticated—no sophisticated techniques, timing attacks, or race conditions are required. The attack is repeatable and leaves minimal forensic trace in most logging configurations. Network access and manual effort are minimal; automated scanning could identify target job_ids through observable build endpoints or information disclosure.
Remediation
Upgrade Capgo to version 12.128.2 or later. This patch enforces proper scope validation, ensuring API keys can only access build resources belonging to authorized applications. Organizations should verify the upgrade in a non-production environment before deploying, and should audit API key permissions and recent build log access patterns to confirm no unauthorized access occurred during the window the system was vulnerable.
Patch guidance
Apply Capgo version 12.128.2 or any subsequent release. Verify against the Capgo release notes and vendor advisory for any additional remediation steps or configuration changes. Test the patch in a staging environment that mirrors your production API key setup, particularly if you use restricted keys across multiple applications. Monitor application logs after patching to confirm normal build operations resume without authorization errors.
Detection guidance
Review Capgo API logs (if retained) for requests to /build/status or /build/logs endpoints from a single API credential accessing job_ids from multiple distinct applications. Look for patterns where app_id and job_id do not naturally correspond (e.g., app_id 'ProjectA' paired with job_id patterns belonging to 'ProjectB'). Monitor for API key usage patterns that deviate from expected application assignments. Implement or enhance API audit logging to capture request parameters and response times before upgrading, as forensic evidence may help identify what data was accessed.
Why prioritize this
While the CVSS score of 6.5 (Medium) reflects that authenticated access is required, the practical risk is elevated because: (1) build logs are high-value targets containing secrets and intellectual property, (2) the vulnerability is trivial to exploit for any attacker with a single API key, (3) in multi-tenant or multi-application scenarios, API key scope is a fundamental trust boundary, and (4) credential exposure in build logs can cascade into infrastructure compromise. Organizations relying on Capgo for CI/CD orchestration should prioritize this patch within their standard update cycle.
Risk score, explained
The CVSS 3.1 score of 6.5 reflects a Medium severity assessment: network-accessible endpoints (AV:N), low attack complexity (AC:L), low privilege requirement (PR:L), no user interaction (UI:N), unchanged scope (S:U), high confidentiality impact (C:H), no integrity or availability impact (I:N, A:N). The score appropriately captures that an authenticated user can obtain sensitive information, but does not reflect multi-tenant risk amplification or the typical high sensitivity of build artifacts in practice.
Frequently asked questions
Can this vulnerability be exploited without valid API credentials?
No. Exploitation requires an authenticated API key or session token. However, the low bar for obtaining restricted API keys (e.g., per-application keys in CI/CD systems) means threat actors inside or with supply-chain access may already possess credentials. The vulnerability is that those restricted credentials can exceed their intended scope.
What types of data are most at risk?
Build logs (which often include shell output, compiler errors, and debugging information), environment variable exports, API tokens, database credentials, SSH keys, Docker registry credentials, and source code snippets are all commonly found in CI/CD build artifacts. Any such data exposed through this vulnerability could enable further attacks.
If we only have one application in Capgo, are we affected?
Single-application instances are unlikely to be impacted in practice, since there is only one app_id in scope. However, if your organization plans to add more applications or uses shared infrastructure, you remain vulnerable until patched.
Should we rotate credentials that may have been exposed via this vulnerability?
Yes, it is prudent to rotate API tokens, secrets, and credentials that were referenced in build logs or metadata during the vulnerability window. Cross-reference your build logs with any credentials managed by CI/CD tools, container registries, cloud platforms, and databases.
This analysis is based on the CVE record and vendor advisory as of the publication date. SEC.co does not conduct independent verification of exploit code or proof-of-concept demonstrations. Organizations should validate patch applicability within their environment and test in non-production settings before deployment. The vulnerability information reflects the published details; additional undisclosed attacks or exploitation patterns may emerge. Consult Capgo's official security advisory and release notes for authoritative guidance. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2023-40200MEDIUMWP Logo Showcase Authorization Bypass Vulnerability (CVSS 5.3)
- CVE-2025-15657MEDIUMUnauthenticated IDOR in School Management – Patch Guidance
- CVE-2026-10023MEDIUMDokan WooCommerce Plugin Order Tampering Vulnerability
- CVE-2026-10038MEDIUMCharitable WordPress Plugin IDOR Arbitrary Attachment Deletion Vulnerability
- CVE-2026-10154MEDIUMDolibarr ERP CRM Authorization Bypass in Messaging Module
- CVE-2026-10212MEDIUMAstrBot 4.24.2 Authorization Bypass via Session ID Manipulation
- CVE-2026-10597MEDIUMOMICARD EDM Unauthenticated Email Disclosure Vulnerability
- CVE-2026-10623MEDIUMPressPrimer Quiz IDOR Vulnerability – Patch Guidance for WordPress Educators