CVE-2026-65320
published critical CVSS 4.0 · 9.2fastcore through 2.2.44 Path Traversal via untar_dir Tar Extraction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AnswerDotAI | — | fastcore0 through 2.2.44 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| AnswerDotAI | fastcore | 0 through 2.2.44 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- Github Issue https://github.com/AnswerDotAI/fastcore/issues/974
- Patch Proposal https://github.com/AnswerDotAI/fastcore/pull/973
- Researcher Disclosure https://github.com/rahulreddykarne/CVE-2026-65320-fastcore
- VulnCheck Advisory: fastcore through 2.2.44 Path Traversal via untar_dir Tar Extraction https://www.vulncheck.com/advisories/fastcore-through-2.2.44-path-traversal-via-untar-dir-tar-extraction
Provider assertions
2VulnCheck · cna
fastcore through 2.2.44 Path Traversal via untar_dir Tar Extraction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cf1c1e00d2a9af780224045feb2aa8490a5f480e181287a4f260c2173c128a7a
- Ingested
- 24 Nov 2026, 16:42:07 UTC
- Source record
- Official CVE record