CVE-2026-56233

Capgo - SSRF and Privilege Escalation via Path Traversal in Builder Upload Proxy

Published Jun 30, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Capgo before 12.128.2 contains a path traversal vulnerability in the builder upload proxy that allows authenticated users with build permissions to bypass upload restrictions. Attackers can append traversal sequences to the upload path, which are normalized by the WHATWG URL parser, enabling access to internal administrative endpoints with the privileged BUILDER_API_KEY header and resulting in server-side privilege escalation.

Analysis

AI-generated

Technical impact

A path traversal flaw in Capgo’s builder upload proxy allows an authenticated user with build permissions to craft upload paths that navigate outside the intended directory. When the path is processed by the WHATWG URL parser, the traversal sequences are resolved, granting the attacker access to internal administrative endpoints that are normally protected by a privileged BUILDER_API_KEY header. This vulnerability is a CWE‑22 path traversal flaw that turns a benign upload operation into a privileged operation, enabling an attacker to execute arbitrary code or modify system state on the server.

Affected Systems

Capgo, specifically the builder upload proxy component. Versions prior to 12.128.2 are affected; any instance running a version earlier than 12.128.2 is vulnerable.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.7, indicating substantial severity. EPSS data is unavailable, so the exact likelihood of exploitation in the wild cannot be quantified, but the flaw is not listed in the CISA KEV catalog. Exploitation requires the attacker to be authenticated and possess build permissions, making the attack surface more limited than a true remote code execution vulnerability, yet it still provides significant power to an inside threat or a compromised build contributor.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Capgo to version 12.128.2 or later to apply the path traversal fix.
  • Restrict or disable the builder upload proxy for users with only read or download permissions to reduce the attack surface.
  • Isolate internal administrative endpoints behind stricter network segmentation or firewall rules so that even if upload paths are tampered with, they cannot reach privileged services.

Generated by OpenCVE AI on June 30, 2026 at 23: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 path traversal vulnerability in the builder upload proxy that allows authenticated users with build permissions to bypass upload restrictions. Attackers can append traversal sequences to the upload path, which are normalized by the WHATWG URL parser, enabling access to internal administrative endpoints with the privileged BUILDER_API_KEY header and resulting in server-side privilege escalation.
Title Capgo - SSRF and Privilege Escalation via Path Traversal in Builder Upload Proxy
Weaknesses CWE-22
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 1, 2026, 2:38 PM
Reserved
Jun 19, 2026, 9:50 PM
Status
Deferred
Published
Jun 30, 2026, 11:17 PM
Modified
Jul 1, 2026, 4:16 PM