Skip to main content

fastcore EUVDEUVD-2026-134080

| CVE-2026-65320 CRITICAL
Path Traversal (CWE-22)
2026-11-24 VulnCheck GHSA-f27m-m9m6-cf77
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app extracting untrusted tar via untar_dir
  2. Delivery
    Craft tar with ../ or absolute-path members
  3. Exploit
    Submit archive to vulnerable endpoint
  4. Execution
    shutil.unpack_archive writes outside target dir
  5. Persist
    Overwrite importable code or config
  6. Impact
    Code 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 1.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

fastcore 0 ≤2.2.44

Affected Packages

euvd fastcore no fix

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

Vendor (VulnCheck) PRIMARY 9.2 CRITICAL
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
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.5%
Top 26% exploitable
Prevalence
Medium
popular Python/ML utility library, but untrusted-archive extraction path is uncommon
Social Media
7
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 1.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy