CVE-2026-82331
9.8Apache Software Foundation · Apache BuildStream
A symlink follow vulnerability in the Apache BuildStream tar source plugin allows unauthenticated attackers to write arbitrary files to the host system during source fetching.
Executive summary
A critical vulnerability in Apache BuildStream allows unauthenticated remote attackers to achieve arbitrary file writes, potentially leading to full system compromise.
Vulnerability
This is an improper link resolution vulnerability (CWE-59) within the tar source plugin. An unauthenticated attacker can exploit this via malicious source tarballs to escape directory boundaries and write files on the host system with the privileges of the BuildStream user.
Business impact
Successful exploitation allows an attacker to write files anywhere the BuildStream process has access, which typically leads to remote code execution or unauthorized modification of sensitive system configurations. Given the CVSS score of 9.8, this vulnerability poses a critical risk to the confidentiality, integrity, and availability of the build environment and the underlying infrastructure.
Remediation
Immediate Action: Upgrade to Apache BuildStream version 2.8.1 or later to implement the necessary security patches.
Proactive Monitoring: Audit build logs for unexpected file access patterns or attempts to fetch untrusted source tarballs from external repositories.
Compensating Controls: Ensure BuildStream is running on Python 3.12 or higher, which provides built-in filtering functionality to block symlink escapes, and strictly enforce the use of trusted sources for all project elements.
Exploitation status
Public Exploit Available: No
Analyst recommendation
This vulnerability represents a severe risk to development environments and CI/CD pipelines. Administrators must prioritize upgrading to version 2.8.1 immediately. If an immediate upgrade is not feasible, ensure the environment is running on Python 3.12 or newer, which provides native mitigation against this class of symlink traversal attacks.
More Apache Software Foundation CVEs
History
CVE Brief tracked this CVE 1 day before it had a CVSS score.
- Disclosed CVE record published
- Collected by CVE Brief No CVSS score yet; tracked as early warning
- CVSS score assigned 9.8 (3.1) from cvelistV5
- Analyst report written
- Published in the daily brief critical section, early-warning entry
Sources
Originally found and disclosed by Gjoko Krstic of Zero Science Lab, per the CVE Program record.