CVE-2026-82331
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
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
tarfilefilter functionality, which blocks the symlink escape
Users are recommended to upgrade to version 2.8.1, which fixes this issue.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream | 0 <= 2.8.0 | affected |
| Apache Software Foundation | Apache BuildStream | 2.8.1 | unaffected |
Weaknesses
- CWE-59: CWE-59 Improper link resolution before file access ('link following')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
CVE Program Container
Additional References
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.