CVE-2026-104813: Apache BuildStream: path traversal via unvalidated CAS Directory

Published Nov 24, 2026
·
Updated

Improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of bst artifact checkout.

The impact of this issue is mitigated by:

BuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted

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

1 affected component
Apache BuildStream<=2.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.8.2
  2. Compensating control

    Use only trusted servers for remote cache and remote execution in BuildStream projects.

Event History

Nov 24, 2026
CVE Published
via MITRE·11:41 AM
Data Sourced
via MITRE·11:41 AM
DescriptionWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

BuildStream users who run `bst artifact checkout` against a malicious or compromised remote cache or remote execution server are exposed. The server can write files on the checkout host with the privileges of the user running BuildStream.

2

Are default BuildStream deployments affected?

The issue affects Apache BuildStream through version 2.8.1, but its impact is mitigated when projects use only trusted remote cache and remote execution servers. A project relying exclusively on trusted servers is less exposed to the described attack path.

3

What is required for exploitation?

An attacker needs control of, or the ability to compromise, an artifact or execution server used by the BuildStream project. Exploitation occurs as part of `bst artifact checkout`.

4

What should teams do if they cannot upgrade immediately?

Restrict BuildStream projects to trusted remote cache and remote execution servers, and avoid checking out artifacts from servers that may be malicious or compromised. Upgrade to version 2.8.2 when possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203