Apache BuildStream: path traversal via unvalidated CAS Directory
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 30, 2026
- Reserved
- Oct 2, 2026
Description
Improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of `bst artifact checkout`.
The impact of this issue is mitigated by:
* BuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted
This issue affects Apache BuildStream: through 2.8.1. Users are recommended to upgrade to version 2.8.2, which fixes the issue.
| Product | Versions |
|---|---|
| Apache BuildStream Apache Software Foundation | 2.8.1 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | CISA-ADP |
Weaknesses
- CWE-22 Improper limitation of a pathname to a restricted directory ('path traversal')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.