← All Advisories

CVE-2026-82331

Last refreshed2026-10-03

Status: UPDATED  |  Advisory ID: CVE-2026-82331

Key Details

CVECVE-2026-82331
CVSS Score / Version9.8 (Critical) / CVSS v3.1
Updated2026-09-23
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Proseattack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected productsApache Software Foundation Apache BuildStream
Classified asCWE-59 (Improper Link Resolution Before File Access ('Link Following'))

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Apache Software FoundationApache BuildStream
SubsystemsGeneral OT
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor Apache Software Foundation's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-82331
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-82331