Critical vulnerability
Critical path traversal in fastcore (CVE-2026-65320)
Path traversal in fastcore · PyPI
CVE-2026-65320
fastcore through 2.2.44 Path Traversal via untar_dir Tar Extraction
- Severity
- Critical 9.2
- Published
- 24 Nov 2026
- Weakness
- Path traversal (CWE-22)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
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.
| Software | Affected versions |
|---|---|
| fastcorePyPI |
|
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-65320
From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.