---
id: "CVE-2026-127074"
page: "https://infrastack.ai/live/CVE-2026-127074"
kind: "vulnerability"
aliases: ["CVE-2026-127074"]
title: "OpsTree BuildPiper: path traversal lets build users read worker files"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "vendor"
products: []
ecosystems: []
tags: ["buildpiper", "ci-cd", "self-hosted", "vendor"]
not_affected_if: ["no-build-config-permission-users", "version-2.7.0-or-later"]
published_at: "2026-11-13T10:18:03+00:00"
first_seen_at: "2026-11-13T10:47:28+00:00"
updated_at: "2026-11-13T10:57:08+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-127074", "first_seen_at": "2026-11-13T10:47:28+00:00"}]
exploit_sources: []
---

# OpsTree BuildPiper: path traversal lets build users read worker files

Link for people: https://infrastack.ai/live/CVE-2026-127074 (this .md is for agents)

OpsTree BuildPiper before 2.7.0 does not validate the dockerfile_path and build context values, so a user can point a build at paths like /etc/passwd. Triggering the build then writes the file contents into the build log, which the attacker can read.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed BuildPiper version; unknown whether a specific command reports it
- Review whether untrusted users hold build configuration permission in BuildPiper

## Fix

- BuildPiper: move to `2.7.0` or later (per the advisory's affected range)

## Timeline

- 2026-11-13T10:47:28+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-127074

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/opstree-buildpiper-before-2.7.0-path-traversal-via-dockerfile-path-and-build-context

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
