CVE-2026-111600: Apache BuildStream: symlink following via plugin API
UNIX symbolic link (symlink) following vulnerability in Apache BuildStream allows source plugins to inadvertently read or write files on the host, with the privileges of the user running BuildStream, via symlinks from malicious or compromised source archives or respositories, 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 None of the source plugins in the buildstream, buildstream-plugins or buildstream-plugins-community repositories use the vulnerable openfile method
This issue affects Apache BuildStream: through 2.8.1.
Users are recommended to upgrade to version 2.8.2, which fixes the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.8.2 - Compensating control
Use only trusted sources in BuildStream project elements.
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Projects that use source plugins calling the vulnerable open_file method while fetching malicious or compromised source archives or repositories are exposed. The bundled plugins in the buildstream, buildstream-plugins, and buildstream-plugins-community repositories do not use that method.
What access does an attacker gain if exploitation succeeds?
A malicious source archive or repository can cause a vulnerable source plugin to follow symlinks and inadvertently read or write host files. Any access occurs with the privileges of the user running BuildStream.
Are projects using only trusted sources affected in practice?
The impact is mitigated when projects use only trusted sources, because untrusted sources also make the resulting build output untrustworthy. The described attack depends on a malicious or compromised source archive or repository.
What should teams do if they cannot upgrade immediately?
Ensure elements use only trusted source archives and repositories, and identify any source plugins that call open_file during source fetching. Run BuildStream with only the minimum necessary user privileges to limit the impact of unintended host-file access.
Which versions need to be upgraded?
Apache BuildStream through version 2.8.1 is affected. Upgrade to version 2.8.2, which fixes the issue.