fastcore through 2.2.44 Path Traversal via untar_dir Tar Extraction
CVE-2026-65320Published 24 Nov 2026, 14:08 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
If the vulnerable configuration applies to you: 9.5
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| fastcoreNiche | <= 2.2.44 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 1.5% chance of exploitation in 30 days (percentile 74), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.45 × threat 0.954.275
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 24 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
CWE-22
References
- https://github.com/rahulreddykarne/CVE-2026-65320-fastcoreexploit, technical-description
- https://github.com/AnswerDotAI/fastcore/pull/973issue-tracking, patch
- https://github.com/AnswerDotAI/fastcore/issues/974issue-tracking
- https://www.vulncheck.com/advisories/fastcore-through-2.2.44-path-traversal-via-untar-dir-tar-extractionthird-party-advisory
- CVE-2026-65320 on CVE.org