Live threats

All CVEs / Apache Software Foundation

CVE-2026-82331Apache Software Foundation Apache BuildStream

Improper Link Resolution in Apache BuildStream tar Plugin

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Sep 23, 2026
Updated
Sep 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Improper link resolution vulnerability in Apache BuildStream's tar source plugin on Python < 3.12 allows malicious tarballs to write files to the host with the privileges of the BuildStream user. Risk is mitigated by using Python >= 3.12, BuildStream >= 2.3.0, or restricting sources to trusted repositories.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2.8.1

Upgrade Apache BuildStream to version 2.8.1 or later. If using Python >= 3.12, upgrade to BuildStream >= 2.3.0.

Vendor advisory · lists.apache.org ↗

  1. Apply the vendor's security update for Apache BuildStream.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.