Skip to content

CVE-2026-65320 fastcore through 2.2.44 Path Traversal via untar_dir Tar Extraction

CriticalCVSS 9.2 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Red Hat

Description

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.

Upgrade path

3 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhoai/odh-automl-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-kserve-autogluon-server-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
pypi fastcore <= 2.2.44 after 2.2.44 Fixed

Affected products

ProductAffected versionsFixed in
pypi fastcore <= 2.2.44 No fix listed
redhat/rhoai/odh-automl-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-kserve-autogluon-server-rhel9(Red Hat:openshift_ai) All versions No fix listed

References