MEDIUM 5.3

CVE-2026-56316 Cap-go 12.128.2: Job ID Enumeration & Information Disclosure

Cap-go versions before 12.128.2 expose a weakness in how the build upload endpoint responds to requests. An attacker doesn't need credentials to send specially crafted requests and figure out which job IDs are real ones based on how the server responds. This allows them to probe the system repeatedly, potentially causing performance issues through sustained unauthenticated traffic.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses (CWE)
CWE-203
Affected products
0 configuration(s)
Published / Modified
2026-06-21 / 2026-06-24

NVD description (verbatim)

Cap-go before 12.128.2 contains an information disclosure vulnerability in the OPTIONS /build/upload/:jobId/* endpoint that allows unauthenticated attackers to enumerate valid builder job IDs through observable response discrepancies. Attackers can probe the endpoint without authentication to distinguish valid job IDs from invalid ones and generate sustained unauthenticated traffic for resource consumption.

3 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability exists in the OPTIONS /build/upload/:jobId/* endpoint, which fails to adequately obscure response behavior across valid and invalid job IDs. The information disclosure stems from CWE-203 (Observable Discrepancy), where differential response patterns allow unauthenticated enumeration. An attacker can systematically probe job ID ranges and infer valid identifiers through measurable differences in server responses, then generate sustained traffic for resource exhaustion. No authentication requirement reduces attack friction.

Business impact

This vulnerability enables two distinct attack vectors: (1) disclosure of builder job metadata through reconnaissance, potentially exposing details about internal CI/CD pipelines, build configurations, or scheduled jobs, and (2) resource-based attacks where high-volume unauthenticated requests to the endpoint can degrade service availability. Organizations relying on Cap-go for build infrastructure should assess whether job ID secrecy is a dependency for their security model.

Affected systems

Cap-go versions prior to 12.128.2 are affected. Administrators should verify their deployed version and confirm whether the environment uses the OPTIONS /build/upload/ endpoint. Cloud deployments and self-hosted instances both require remediation.

Exploitability

Exploitability is straightforward because no authentication, user interaction, or special network position is required. The attack surface is the public-facing OPTIONS endpoint itself. An attacker with basic HTTP tooling can enumerate job IDs in an automated fashion. Network accessibility to the Cap-go service is the only prerequisite. The CVSS 5.3 MEDIUM score reflects the direct remote nature of the attack and information disclosure component, offset by the absence of confidentiality impact on data beyond the job ID enumeration itself.

Remediation

Upgrade Cap-go to version 12.128.2 or later. This version addresses the observable discrepancy by standardizing endpoint responses regardless of job ID validity, preventing attackers from distinguishing valid IDs through response analysis. Organizations should also consider network-level rate limiting on the build upload endpoint to mitigate resource consumption attacks.

Patch guidance

Apply the upgrade to Cap-go 12.128.2 as soon as feasible. Verify the upgrade in a non-production environment first to confirm compatibility with your CI/CD workflows. No special configuration changes are required post-upgrade. Coordinate patching with your deployment pipeline to minimize disruption.

Detection guidance

Monitor for patterns of rapid sequential OPTIONS requests to the /build/upload/ endpoint from single sources, especially unauthenticated requests. Unusually high volumes of 404 or error responses from this endpoint may indicate enumeration attempts. Log and alert on anomalous request rates from external IP ranges. Correlate endpoint access logs with your known job ID ranges to identify potential scanning activity.

Why prioritize this

Although the CVSS score is MEDIUM, prioritization should reflect your organization's dependency on build job confidentiality and tolerance for reconnaissance activity. If job IDs or build metadata are considered sensitive or tied to proprietary processes, escalate priority accordingly. Organizations hosting Cap-go in public cloud environments face higher attacker exposure and should patch sooner. The lack of KEV status suggests active exploitation is not yet tracked at scale, but the low barrier to attack warrants prompt remediation.

Risk score, explained

The CVSS 5.3 MEDIUM severity is driven by: (1) Attack Vector Network (remote), (2) Attack Complexity Low (no special setup), (3) Privileges Required None, (4) User Interaction None, and (5) Confidentiality Impact Low (disclosure of job ID enumeration data). Integrity and Availability are not directly impacted by the vulnerability itself, though availability can degrade through sustained unauthenticated traffic abuse. The score does not account for downstream reconnaissance value or organizational sensitivity to build metadata exposure.

Frequently asked questions

Can an attacker access build logs or source code through this vulnerability?

No. The vulnerability is limited to enumeration of job IDs through observable response differences. It does not grant access to build logs, artifacts, source code, or any other sensitive content. However, once a valid job ID is known, an attacker may target other endpoints or authentication mechanisms to attempt further compromise.

Do I need to rotate or revoke job IDs after discovering this vulnerability was exploited?

Job IDs themselves are not credentials and do not need rotation. However, if you detect enumeration activity targeting your endpoint, review your audit logs for the corresponding time period to determine if any valid job IDs were targeted in subsequent requests. Focus on identifying and remediating any downstream exploitation attempts.

Will upgrading to 12.128.2 break my existing build pipelines?

Verify against the Cap-go release notes for version 12.128.2 to confirm compatibility with your environment. The patch specifically addresses response standardization on the OPTIONS endpoint, which should not affect normal CI/CD operation. Test in a non-production environment before rolling out to production.

Why is this vulnerability not on the KEV catalog?

The Known Exploited Vulnerabilities (KEV) catalog prioritizes vulnerabilities with confirmed active exploitation by threat actors. This CVE has not yet been added to that list, suggesting exploitation is either not yet observed at scale or has not been formally disclosed to CISA. Monitor for future updates as threat intelligence evolves.

This analysis is based on published CVE data and vendor disclosures as of the stated modification date. Exploit code is not provided. Readers should verify version numbers, patch availability, and compatibility against official Cap-go release notes and vendor security advisories before deploying patches. This content is for informational purposes and does not constitute legal, financial, or technical advice. Organizations should conduct their own risk assessment based on their specific deployment context and threat model. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).