{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-82331 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-82331 is a critical path traversal vulnerability in Apache BuildStream, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-82331 and fix it if it is affected.\n\nWhat it is: CVE-2026-82331 is a critical path traversal vulnerability in Apache BuildStream, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-82331 in the wild and no public exploit code.\n\nAffected product: Apache BuildStream. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-82331/ (Markdown: https://insights.sbomify.com/CVE-2026-82331/index.md)","id":"CVE-2026-82331","markdown":"https://insights.sbomify.com/CVE-2026-82331/index.md","name":"CVE-2026-82331","record":{"aliases":["DEBIAN-CVE-2026-82331","GHSA-5xjv-h9hc-3vv9","UBUNTU-CVE-2026-82331"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"BuildStream build tool","requires_auth":"none","summary":"Malicious tarballs can write files to the host via symlink escapes during source fetching, potentially leading to code execution or data modification.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"Improper link resolution before file access ('link following') vulnerability in the `tar` source plugin of Apache BuildStream running on Python \u003c 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 \u003e= 3.12, BuildStream \u003e= 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache BuildStream: tar source extraction escape","id":"CVE-2026-82331","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Fireware OS Improper Authentication in AuthPoint MFA Verification Allows Session Hijacking","id":"CVE-2026-82332"},"packages":[],"prev":{"headline":"Gimp: heap out-of-bounds read in pvr vq (compressed) decoder due to missing bounds check","id":"CVE-2026-82330"},"products":["Apache BuildStream"],"published":"2026-09-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-23","vendors":["Apache Software Foundation"]},"summary":"Malicious tarballs can write files to the host via symlink escapes during source fetching, potentially leading to code execution or data modification.","url":"https://insights.sbomify.com/CVE-2026-82331/"}