Advisory

DEBIAN-CVE-2026-82331

Also known as: CVE-2026-82331

Summary

The record has no summary.

Details

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

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-09-23 07:16 UTC
Modified
2026-10-14 16:00 UTC

Affected packages and fixes

buildstream

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

buildstream

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.6.9-2+deb13u1 (ecosystem)

Fixed versions

1.6.9-2+deb13u1

Fix

  • Fixed version 1.6.9-2+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

buildstream

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.8.1-1 (ecosystem)

Fixed versions

2.8.1-1

Fix

  • Fixed version 2.8.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences