{"id":"CVE-2026-82331","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-82331","generatedAt":"2026-10-28T03:30:42.532Z","title":"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…","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.\nThe impact of this issue is mitigated by:\n\n* BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\n* Tracking a source tarball pins its SHA256 hash, which prevents MITM attacks of users that are fetching an already tracked project\n* When running on Python >= 3.12, BuildStream >= 2.3.0 already makes use of the Python `tarfile` filter functionality, which blocks the symlink escape\n\nUsers are recommended to upgrade to version 2.8.1, which fixes this issue.","published":"2026-09-23T07:16:46.000Z","lastModified":"2026-09-23T17:58:27.000Z","status":"Awaiting Analysis","sourceIdentifier":"security@apache.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-59"],"affected":[],"epss":{"score":0.00408,"percentile":0.3484,"date":"2026-10-26","history":[{"date":"2026-09-23","score":0.00195,"percentile":0.09537}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.41%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"scored","label":"Newly scored","at":"2026-09-23T16:45:12.000Z","detail":{"from":null,"score":"9.8","severity":"CRITICAL","fromSeverity":null},"summary":"Now scored CVSS 9.8 CRITICAL."},{"kind":"new","label":"New CVE","at":"2026-09-23T07:16:46.000Z","detail":{"score":null,"severity":null,"publishedAt":"2026-09-23T07:16:46.493Z"},"summary":"New CVE, critical severity (CVSS 9.8)."}],"references":[{"url":"https://lists.apache.org/thread/9b342631x7bvtyg0pq7zgywtl2cmy34v","source":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2026/09/23/9","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-82331","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}