CVE-2026-82331
published critical CVSS 3.1 · 9.8Apache BuildStream: tar source extraction escape
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | buildstreamApache BuildStream · 0 through 2.8.0 (affected · semver) · 2.8.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | apache |
| Debian | trixie | buildstream | Advisory build | 1.6.9-2+deb13u1 | DSA-6559-1 |
| Ubuntu | focal | buildstream | Advisory build | 1.4.1-1ubuntu0.1~esm1 | USN-9095-1 |
| Ubuntu | jammy | buildstream | Advisory build | 1.6.1-1ubuntu0.1~esm1 | USN-9095-1 |
| Ubuntu | noble | buildstream | Advisory build | 1.6.9-1ubuntu0.1~esm1 | USN-9095-1 |
| Ubuntu | focal | python3-buildstream | Advisory build | 1.4.1-1ubuntu0.1~esm1 | USN-9095-1 |
| Ubuntu | jammy | python3-buildstream | Advisory build | 1.6.1-1ubuntu0.1~esm1 | USN-9095-1 |
| Ubuntu | noble | python3-buildstream | Advisory build | 1.6.9-1ubuntu0.1~esm1 | USN-9095-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream | 0 through 2.8.0 (affected · semver)2.8.1 (unaffected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-59 CWE-59 Improper link resolution before file access ('link following')
References
2Provider assertions
3apache · cna
Apache BuildStream: tar source extraction escape
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 51504b0c91af10e34461fe57970009933d9252a5f9353f91afbf525374b18279
- Ingested
- 30 Sep 2026, 15:34:00 UTC
- Source record
- Official CVE record