CVE catalog

CVE-2026-82331

buildstream: CVE-2026-82331

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.41% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianbuildstreamsid2.8.1-3fixed
Debianbuildstreamforky2.8.1-1fixed
Debianbuildstreamtrixie1.6.9-2vulnerable
Debianbuildstreamtrixie-security1.6.9-2+deb13u1fixed
Debianbuildstreambookworm1.6.8-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbuildstreamsourcesid2.8.1-1not yet assignedNot reportedNot reported
Debianbuildstreamsourceforky2.8.1-1not yet assignedNot reportedNot reported
Debianbuildstreamsourcetrixie1.6.9-2+deb13u1not yet assignedNot reportedNot reported
Debianbuildstreamsourcebookworm(unfixed)not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [buildstream]Affected
    Details (2)
    • 1.6.8-2 · all · bookworm

      Affected

      dsa · buildstream · debian · bookworm

    • 1.6.8-2 · all · bookworm

      Affected

      dsa · buildstream · debian · bookworm

  • Source package: [buildstream]

    Details (2)
    • 1.6.8-2 · all · bookworm

      Affected

      dsa · buildstream · debian · bookworm

    • 1.6.8-2 · all · bookworm

      Affected

      dsa · buildstream · debian · bookworm

Observed:

References