
CVE catalog
CVE-2026-82331
buildstream: CVE-2026-82331
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 25, 2026
Improper link resolution before file access ('link following') vulnerability in the `tar` source plugin of Apache BuildStream running on Python < 3.12 allows malicious source tarballs to write files on the host, with the privileges of the user running BuildStream, via symlinks as part of source fetching. The impact of this issue is mitigated by: * BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted * Tracking a source tarball pins its SHA256 hash, which prevents MITM attacks of users that are fetching an already tracked project * When running on Python >= 3.12, BuildStream >= 2.3.0 already makes use of the Python `tarfile` filter functionality, which blocks the symlink escape Users are recommended to upgrade to version 2.8.1, which fixes this issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | buildstream | sid | 2.8.1-3 | fixed |
| Debian | buildstream | forky | 2.8.1-1 | fixed |
| Debian | buildstream | trixie | 1.6.9-2 | vulnerable |
| Debian | buildstream | trixie-security | 1.6.9-2+deb13u1 | fixed |
| Debian | buildstream | bookworm | 1.6.8-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | buildstream | source | sid | 2.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | buildstream | source | forky | 2.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | buildstream | source | trixie | 1.6.9-2+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | buildstream | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [buildstream]Affected
Details (2)
1.6.8-2· all · bookwormAffected
dsa · buildstream · debian · bookworm
1.6.8-2· all · bookwormAffected
dsa · buildstream · debian · bookworm
- [python3-buildstream]Affected
Source package: [buildstream]
Details (2)
1.6.8-2· all · bookwormAffected
dsa · buildstream · debian · bookworm
1.6.8-2· all · bookwormAffected
dsa · buildstream · debian · bookworm
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-82331]
- [https://security-tracker.debian.org/tracker/CVE-2026-82331]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82331.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]