Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app extracting untrusted tar via untar_dir
-
DeliveryCraft tar with ../ or absolute-path members
-
ExploitSubmit archive to vulnerable endpoint
-
Executionshutil.unpack_archive writes outside target dir
-
PersistOverwrite importable code or config
-
ImpactCode execution, data modification, or DoS
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application actually call fastcore.xtras.untar_dir() (which routes through the internal _unpack() helper) to extract an attacker-controlled or otherwise untrusted tar archive, AND that it run on a Python interpreter older than 3.14 where shutil.unpack_archive does not apply a safe default extraction filter. The malicious archive must be a tar file containing members with absolute paths or ../ traversal sequences; the patch evidence notes zip and similar formats are unaffected because the stdlib already strips '..', so the condition is specifically tar extraction. Limiting factors that reduce real-world exposure: the application must expose this exact helper to untrusted archive input, the write primitive is bounded by locations writable by the application process, and upgrading to Python 3.14 (or the fixed fastcore) neutralizes the default-configuration path. No special attacker authentication is required (PR:N). |
| Impact | Multiple signals point to a genuine, high-priority issue but with an important usage precondition. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.2) describes a network-reachable, unauthenticated flaw with high confidentiality, integrity and availability impact to the vulnerable system, and the vuln.today Decision label is 'act_now' - consistent with a VulnCheck-reported, patched vulnerability. The AT:P (attack requirement) metric is meaningful here: the source-code evidence and description show exploitation is limited to applications running on Python versions before 3.14, since newer interpreters apply a safe default tar extraction filter. No CISA KEV listing and no EPSS score are present in the input, so there is no evidence of active or widespread exploitation; a public PoC reference exists but is not verified as working exploit code, so this is not confirmed in-the-wild activity. The practical gating factor is not attacker privilege but whether an application actually calls fastcore.xtras.untar_dir() on untrusted tar archives - a less common code path than the network-vector metrics alone imply. Net assessment: real and worth prompt patching per the act_now label, but realistic exposure is concentrated in applications that extract untrusted tar archives on pre-3.14 Python rather than in every fastcore install. |
| Exploit ScenarioDerived | An application uses fastcore.xtras.untar_dir() to extract tar archives uploaded or fetched from untrusted sources while running on Python before 3.14. An attacker submits a crafted tar whose members use absolute paths or ../ sequences, causing files to be written outside the extraction directory - overwriting importable Python code or configuration and potentially achieving code execution. A public PoC reference exists but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
fastcore through 2.2.44 can write files outside the intended extraction directory when an application passes a crafted tar archive to fastcore.xtras.untar_dir(), because the helper reaches shutil.unpack_archive() without a safe tar filter or member validation on Python versions before 3.14. This can overwrite application files, configuration, or importable code and lead to code execution, data modification, or denial of service; exploitation requires the target application to expose untar_dir() to untrusted archives. A public PoC reference exists; it is not verified as working exploit code, and the issue is prioritized act_now based on the supplied decision signal.
RemediationAI
Apply the vendor fix associated with PR #973, tracked by issue #974; patch status is 'Upstream fix available (PR/commit); released patched version not independently confirmed' from the supplied data, so confirm the fixed fastcore release before deployment and consult the VulnCheck advisory. Until that fix is deployed, do not pass untrusted tar archives to fastcore.xtras.untar_dir(); if archive extraction must remain enabled, upgrade to Python 3.14+ where feasible, or on Python 3.11.4+/3.12+ pre-validate tar members and extract with tarfile.extractall(filter='data'), and on older interpreters reject absolute paths, '..' traversal, symlinks, and hardlinks before extraction. The trade-offs are that disabling untar_dir() for untrusted input removes the extraction feature for those inputs, and manual member validation is only as reliable as its path/link checks; Python upgrades may be constrained by application compatibility.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
fastcore is a Python utility library; the affected helper is fastcore.xtras.untar_dir(), which delegates archive extraction to the internal _unpack() function. In affected versions, _unpack() calls shutil.unpack_archive() on the supplied archive; for tar files this permits members with absolute paths or ../ sequences to escape the output directory when the interpreter predates Python 3.14 and therefore lacks the safe-by-default extraction filter. This is CWE-22 path traversal ('tar slip'), and the supplied CPE cpe:2.3:a:answerdotai:fastcore:*:*:*:*:*:*:*:* identifies the AnswerDotAI fastcore product; the patch makes extraction use tarfile with filter='data' where supported and otherwise manually rejects link members and any resolved member path outside the destination. The independent assessment uses CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, reflecting that the write primitive is bounded by the extracting process's permissions and that real exposure depends on the application calling this helper on untrusted tar input; zip and similar archive formats are noted as unaffected because the standard library already strips '..'.
Know when Fastcore gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:N and PR:N since an untrusted archive can arrive remotely without auth; AC:H maps the AT:P Python-pre-3.14 and untrusted-extraction precondition; arbitrary file write yields C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
CWE-22, Improper Limitation of a Pathname to a Restricted Directory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
CVE-2026-65320 is a critical vulnerability in the fastcore Python library, affecting any application that uses fastcore.xtras.untar_dir() to extract untrusted tar archives. It allows an attacker to write files outside the intended directory, potentially leading to code execution, data modification, or denial of service. Organizations using fastcore in such applications face significant risk of compromise, especially if those applications process user-supplied archives.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-134080
GHSA-f27m-m9m6-cf77
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB