SecurityContext

CVE-2026-82331: Apache BuildStream - Path Traversal

  • Cve: CVE-2026-82331
  • Name: Apache BuildStream - Path Traversal
  • 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.
  • Impact: Attackers can write files on the host with user privileges, potentially leading to system compromise or data tampering.
  • Remediation: Upgrade to version 2.8.1 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00408
  • Epss percentile: 0.35605
  • Assignee: [email protected]
  • Published at: 2026-09-23T07:16:46Z
  • Age in days: 62
  • Modified at: 2026-09-23T17:58:26Z
  • References total: 2
  • Oss: yes
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-82331
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access

References

UrlSourceTags
https://lists.apache.org/thread/9b342631x7bvtyg0pq7zgywtl2cmy34vnvd
http://www.openwall.com/lists/oss-security/2026/09/23/9nvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts