CVE-2026-104813
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-104813 NameCVE-2026-104813 DescriptionImproper 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…
CVE-2026-104813
| Name | CVE-2026-104813 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1155343 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| buildstream (PTS) | bookworm | 1.6.8-2 | vulnerable |
| trixie (security), trixie | 1.6.9-2+deb13u1 | vulnerable | |
| forky | 2.8.1-3 | vulnerable | |
| sid | 2.8.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| buildstream | source | (unstable) | 2.8.2-1 | 1155343 |
Notes
[trixie] - buildstream <no-dsa> (Minor issue)
https://github.com/apache/buildstream/pull/2219
Fixed by: https://github.com/apache/buildstream/commit/494123d83b53879b5c34a4c7c6a597688b13a973 (2.8.2.dev0)
https://lists.apache.org/thread/7l4mswynvvf3z9jp43kyky2zh23y98tt
Apply commands
[trixie] - buildstream <no-dsa> (Minor issue)https://github.com/apache/buildstream/pull/2219Fixed by: https://github.com/apache/buildstream/commit/494123d83b53879b5c34a4c7c6a597688b13a973 (2.8.2.dev0)https://lists.apache.org/thread/7l4mswynvvf3z9jp43kyky2zh23y98tt
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | buildstream |
Affected | — |
| sid | buildstream |
Fixed | 2.8.2-1 |
| forky | buildstream |
Fixed | 2.8.2-1 |
| bookworm | buildstream |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| apache | apache_buildstream | {"endIncluding":"2.8.1"} | |
References
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.