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

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.46%, higher than 74% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-24T14:08:33.434Z
- Modified: 2026-11-24T17:18:52.953Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- AnswerDotAI fastcore: up to 2.2.44

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/rahulreddykarne/CVE-2026-65320-fastcore> (exploit, technical-description)
- <https://github.com/AnswerDotAI/fastcore/pull/973> (issue-tracking, patch)
- <https://github.com/AnswerDotAI/fastcore/issues/974> (issue-tracking)
- <https://www.vulncheck.com/advisories/fastcore-through-2.2.44-path-traversal-via-untar-dir-tar-extraction> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-65320](https://www.cve.org/CVERecord?id=CVE-2026-65320), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-65320](https://nvd.nist.gov/vuln/detail/CVE-2026-65320), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-65320 · Whole record: https://cve.day/CVE-2026-65320.json · Rebuilt by cve.day 2026-11-25T22:59:52.833Z
