PatchSiren cyber security CVE debrief
CVE-2026-65320 AnswerDotAI CVE debrief
A path traversal vulnerability exists in fastcore through 2.2.44 in the `untar_dir` archive extraction helper, allowing attackers to write files outside the intended extraction directory by supplying a crafted tar archive. This vulnerability can lead to code execution, data modification, or denial of service. Defenders responsible for applications using fastcore for archive extraction should assess exposure and prioritize remediation, especially in environments handling untrusted archives.
- Vendor
- AnswerDotAI
- Product
- fastcore
- CVSS
- CRITICAL 9.2
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-24
- Original CVE updated
- 2026-11-24
- Advisory published
- 2026-11-24
- Advisory updated
- 2026-11-24
Who should care
Defenders responsible for applications using fastcore for archive extraction, especially in environments handling untrusted archives, should assess exposure and prioritize remediation.
Why it matters
Defenders should care about this vulnerability because it allows attackers to write files outside the intended extraction directory, potentially leading to code execution, data modification, or denial of service. Verification and remediation are prioritized for applications using fastcore for archive extraction, especially in environments handling untrusted archives.
- Potential code execution through overwritten application files
- Data modification or denial of service through file system manipulation
- Verification priority for affected versions and remediation status
Technical summary
The `untar_dir` function in fastcore through 2.2.44 does not properly validate or filter archive members, allowing attackers to write files outside the intended extraction directory. This vulnerability can be exploited by supplying a crafted tar archive, potentially leading to code execution, data modification, or denial of service. Applications that extract untrusted archives with untar_dir() are affected, especially in environments handling untrusted archives before Python 3.14. Defenders should prioritize verifying and remediating this vulnerability.
Defensive priority
Defenders should prioritize verifying and remediating this vulnerability in applications using fastcore for archive extraction, especially in environments handling untrusted archives.
Recommended defensive actions
- Verify the version of fastcore in use and assess exposure
- Remediate by updating to a patched version of fastcore
- Implement additional validation and filtering for archive extraction
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the path traversal vulnerability in fastcore's `untar_dir` function, which allows attackers to write files outside the intended extraction directory. The vulnerability is caused by the internal _unpack() function passing the archive to shutil.unpack_archive() without a tar extraction filter, member path validation, or a containment check. This issue affects applications that extract untrusted archives with untar_dir(), potentially leading to code execution, data modification, or denial
Sources and references
Verified primary and authoritative sources
-
CVE-2026-65320 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-65320
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-65320 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-65320
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
fastcore through 2.2.44 Path Traversal via untar_dir Tar Extraction
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/65xxx/CVE-2026-65320.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/rahulreddykarne/CVE-2026-65320-fastcore
Supplemental source - technical-description, exploit
-
Source reference
Unverified legacy reference
URL: https://github.com/AnswerDotAI/fastcore/pull/973
Supplemental source - issue-tracking, patch
-
Source reference
Unverified legacy reference
URL: https://github.com/AnswerDotAI/fastcore/issues/974
Supplemental source - issue-tracking
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/fastcore-through-2.2.44-path-traversal-via-untar-dir-tar-extraction
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.