Bug 2542448 - CVE-2026-82331 buildstream-plugins: Apache BuildStream: Arbitrary file write via symlinks in tar source plugin [fedora-all]
Summary: CVE-2026-82331 buildstream-plugins: Apache BuildStream: Arbitrary file write ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: buildstream-plugins
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Javier Jardón
QA Contact:
URL:
Whiteboard: {"flaws": ["41c71293-964b-40b0-bae2-2...
Depends On:
Blocks: CVE-2026-82331
TreeView+ depends on / blocked
 
Reported: 2026-09-28 12:46 UTC by Ganesh
Modified: 2026-09-28 12:46 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-09-28 12:46:36 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.