CVE-2026-65320

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.
Configurations

No configuration.

History

24 Nov 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-24 15:17

Updated : 2026-11-24 17:18


NVD link : CVE-2026-65320

Mitre link : CVE-2026-65320

CVE.ORG link : CVE-2026-65320


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')