Vulnerabilities/

DEBIAN-CVE-2026-82331

CVE

DEBIAN-CVE-2026-82331

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 o...

Severity

Critical

Base CVSS

9.8

Fixed in

1.6.9-2+deb13u1,2.8.1-1

Description

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.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.8

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

OSV

0

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Endor Labs

Required action

Known ransomware campaign use

References

https://security-tracker.debian.org/tracker/CVE-2026-82331

Basic information

Base CVSS

9.8

EPSS probability

0.0

EPSS percentile

0.3718

Introduced version

0

Fix available

1.6.9-2+deb13u1,2.8.1-1

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.