CVE-2026-82331CWE-59

CVE-2026-82331

Critical · published September 23, 2026

CVSS v3.1
9.8
EPSS
0%
Percentile
35.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00424 · 35.7th percentile
Weakness
CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-09-23T11:16Z
References (2)
EPSS history
Timeline
  • 24 SEP 03:25Z
    EPSS moved — → 0%
    epss
  • 23 SEP 06:58Z
    Apache BuildStream: tar source extraction escape
    cvelistv5