CVE-2026-65320 — AnswerDotAI fastcore
Summary
fastcore through 2.2.44 contains a path traversal vulnerability in the fastcore.xtras.untar_dir() archive extraction helper that allows attackers who supply a crafted tar archive to write files outside the intended extraction directory. The internal _unpack() function passes the archive to shutil.unpack_archive() without a tar extraction filter, member path validation, or a containment check, so archive members with absolute paths or ../ traversal sequences are written to arbitrary locations writable by the application process when running on Python versions before 3.14. Applications that extract untrusted archives with untar_dir() can have application files, configuration, or importable code overwritten, which can lead to code execution, data modification, or denial of service.
Severity breakdown
Critical · 9.2
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| AnswerDotAI fastcore | ≤ 2.2.44 | — |
Public exploits
Exploit available
References by type
Patches and fixed releases
Other references
Affected
- AnswerDotAI fastcore
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-65320?
fastcore through 2.2.44 contains a path traversal vulnerability in the fastcore.xtras.untardir() archive extraction helper that allows attackers who supply a crafted tar archive to write files outside the intended extraction directory. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-65320?
CVE-2026-65320 has a CVSS 4.0 base score of 9.2 (critical), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-65320 being exploited?
Not as far as is known: CVE-2026-65320 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 1.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-65320?
AnswerDotAI fastcore ≤ 2.2.44.
How do I fix CVE-2026-65320?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- Apache Texera CVE-2026-112788: Unauthenticated Python Environment Endpoints in Non-Kubernetes Setups
- Gunicorn Memory Exhaustion Vulnerability in ASGI HTTP/1 Parser
- Debian Patches Twelve Django Vulnerabilities With python-django Update DSA-6648-1
- Aedes MQTT broker: deeply nested topic strings crash the Node.js process (CVE-2026-63341)
- pip before 26.2.2 bundles compromised eMudhra certificates in certifi (CVE-2026-133949)