Link Following Affecting buildstream package, versions <2.8.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.42% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-BUILDSTREAM-20066583
  • published24 Sept 2026
  • disclosed23 Sept 2026

Introduced: 23 Sep 2026

NewCVE-2026-82331  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Debian:unstable buildstream to version 2.8.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream buildstream package and not the buildstream package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.