fastcore through 2.2.44 contains a path traversal vulnerability in the fastcore.xtras.untar_dir() archive extraction
Source GCVE Database
Not known to be exploited · CVSS 9.2 Critical.
Data as of 24 Nov 2026, 16:24 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 9.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.1 |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| AnswerDotAIfastcore | Affected
| Fixed in– |
PyPIfastcorepkg:pypi/fastcoreOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid extracting untrusted tar archives using fastcore.xtras.untar_dir(), or implement manual validation of archive member paths to prevent path traversal. Consider upgrading to Python 3.14 or later, where this issue is not present.
Description
fastcore versions through 2.2.44 have a path traversal vulnerability in the fastcore.xtras.untar_dir() function. This flaw allows crafted tar archives to write files outside the intended extraction directory, potentially overwriting application files, configurations, or code. The vulnerability arises because the internal _unpack() function uses shutil.unpack_archive() without validating archive member paths or enforcing containment checks. This affects Python versions before 3.14. Exploitation can lead to code execution, data modification, or denial of service.
References
- nvd.nist.gov/vuln/detail/CVE-2026-65320 (opens in a new tab)
- github.com/AnswerDotAI/fastcore/issues/974 (opens in a new tab)
- github.com/AnswerDotAI/fastcore/pull/973 (opens in a new tab)
- github.com/rahulreddykarne/CVE-2026-65320-fastcore (opens in a new tab)
- vulncheck.com/advisories/fastcore-through-2.2.44-path-traversal-via-untar-dir-tar-extraction (opens in a new tab)