CVE-2026-127074 Details
Description
OpsTree BuildPiper before 2.7.0 contains a path traversal vulnerability that allows authenticated users with build configuration permission to read files on the build worker by supplying unvalidated dockerfile_path and build context values. Attackers can set traversal or absolute paths such as /etc/passwd via the CI configuration endpoint, then trigger a build to disclose file contents in the build log.
A path traversal vulnerability has been identified in OpsTree BuildPiper versions prior to 2.7.0. This vulnerability allows authenticated users with build configuration permissions to read files from the build worker's filesystem. The issue arises because the application does not properly validate user-supplied Dockerfile paths and build context values. Attackers can exploit this by injecting traversal or absolute paths, such as /etc/passwd, through the CI configuration endpoint. Once a build is triggered, the contents of the specified files are leaked into the build log.
Users are advised to update to BuildPiper version 2.7.0 or later. In addition, the Dockerfile path and build context should be validated to ensure they remain within the boundaries of the cloned repository, rejecting any traversal sequences or absolute paths. It is also recommended not to echo the contents of unexpected files into the build logs.
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 Nov 13, 2026CISA-ADP
Assessed Nov 18, 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OpsTree BuildPiper | >= 0, < 2.7.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion