CVE-2026-82331: Apache BuildStream: tar source extraction escape
This Apache advisory covers CVE-2026-82331 in Apache BuildStream.
Am I affected by CVE-2026-82331?
You are affected if you run Apache BuildStream at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Apache BuildStream through 2.8.0 | 2.8.1 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Critical, CVSS 9.8
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H· base score 9.8, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-59 Improper link resolution before file access ('link following')
- EPSS
- 0.41% chance of exploitation in the next 30 days (35th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
Improper link resolution before file access ('link following') vulnerability in the `tar` source plugin of Apache BuildStream 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.
Text from the source record.
How to fix CVE-2026-82331
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- 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.
CVE-2026-82331 in other vendors' advisories
- Red Hat: CVE-2026-82331, medium severity
CVE-2026-82331 questions
Is CVE-2026-82331 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-82331?
You are affected if you run Apache BuildStream at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-82331?
Upgrade to a fixed release Apache lists for your version: 2.8.1. The advisory's own guidance is above.
How likely is CVE-2026-82331 to be exploited?
FIRST's EPSS model gives it a 0.41% chance of exploitation in the next 30 days (35th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2026-82331?
Apache rates it critical, CVSS 9.8 out of 10.
More Apache Software Foundation advisories
CVE-2026-111600Nov 24, 2026UNIX symbolic link (symlink) following vulnerability in Apache BuildStreamCVE-2026-104813Nov 24, 2026Apache BuildStream path traversalCVE-2026-124324Nov 24, 2026vulnerability in Apache Jena FusekiCVE-2026-120502Nov 24, 2026vulnerability in Apache Jena can cause excess memory allocation from malicious Thrift dataCVE-2026-86156Nov 24, 2026Apache Jena Fuseki: Web requests using SPARQL Update can escape file restrictionsCVE-2026-86155Nov 24, 2026Apache Jena Fuseki SSRF
Apache Software Foundation advisories, September 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.