Every CVESearch/Get API key

CVE-2026-82331

Apache BuildStream: tar source extraction escape

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.41%Up 0.2 points since Sep 23, 2026
90%50%10%1%

What each source reports

CVE List Score used9.8

Apache BuildStream: tar source extraction escape

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.

Record
CVE-2026-82331
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-59
Updated
2026-11-02
EUVDEUVD-2026-851139.8

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.

Record
EUVD-2026-85113
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-5xjv-h9hc-3vv99.8

Improper link resolution before file access ('link following') vulnerability in the `tar` source...

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.

Record
GHSA-5xjv-h9hc-3vv9
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-59
Updated
2026-11-02
NVD9.8

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.

Record
CVE-2026-82331
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-59
Updated
2026-11-02
OSVDEBIAN-CVE-2026-823319.8

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.

Record
DEBIAN-CVE-2026-82331
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-823319.8

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.

Record
UBUNTU-CVE-2026-82331
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
buildstream
Debian:12
All versions, plus listed versions
1.6.8-21.6.9-11.6.9-1.11.6.9-21.6.9-3
Show 5 moreShow less
2.7.0-12.7.0-22.7.0-32.8.0-12.8.1-1
None known
buildstream
Debian:13
before 1.6.9-2+deb13u1, plus listed versions
1.6.9-2
1.6.9-2+deb13u1
buildstream
Debian:14
before 2.8.1-1, plus listed versions
1.6.9-21.6.9-32.7.0-12.7.0-22.7.0-32.8.0-1
2.8.1-1
buildstream
Ubuntu:20.04:LTS
All versions, plus listed versions
1.4.1-1
None known
buildstream
Ubuntu:22.04:LTS
All versions, plus listed versions
1.6.1-1
None known
buildstream
Ubuntu:24.04:LTS
All versions, plus listed versions
1.6.9-1
None known
buildstream
Ubuntu:26.10
All versions, plus listed versions
2.7.0-32.8.0-12.8.1-1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-82331 is a critical vulnerability (CVSS 9.8) in Apache Software Foundation Buildstream, published September 23, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in buildstream 1.6.9-2+deb13u1.

References

MoveEnter Open