Live threats

All CVEs / AnswerDotAI

CVE-2026-65320AnswerDotAI fastcore

Path traversal in tar archive extraction in fastcore

Critical 9.2 No auth neededRecent

Priority
79
CVSS 4.0
9.2
EPSS
—
Auth required
No
Published
Nov 24, 2026
Updated
Nov 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

fastcore through version 2.2.44 contains a path traversal vulnerability in the untar_dir() function that allows attackers to write files outside the intended extraction directory. An attacker supplying a crafted tar archive can overwrite application files, configuration, or executable code, potentially leading to code execution, data modification, or denial of service on Python versions before 3.14.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

No patch data

Update fastcore to a version newer than 2.2.44 when available. In the meantime, avoid extracting tar archives from untrusted sources using untar_dir().

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for fastcore.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.