Path traversal in fastcore untar_dir lets attackers overwrite files
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
fastcore through 2.2.44 contains a path traversal flaw in the untar_dir() extraction helper. Archive members with absolute paths or ../ sequences are written outside the extraction directory (CWE-22). An unauthenticated remote attacker who supplies a crafted tar archive can overwrite application files, which can lead to code execution when running on Python before 3.14. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AnswerDotAI | fastcore | up to 2.2.44 | — | No fix listed | CNA |
- fastcore VendorAnswerDotAI Affected up to 2.2.44 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for fastcore. Red Hat lists Red Hat OpenShift AI (RHOAI) as affected with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
Not affected: 1 product
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-11-24 Threatist record created from CVE-2026-65320
- 2026-11-24 Alias added: GHSA-f27m-m9m6-cf77
- 2026-11-24 CISA SSVC decision points changed
- 2026-11-25 Affected versions changed · Red Hat
- 2026-11-25 CVSS score added · Red Hat
- 2026-11-26 Affected versions changed · Red Hat
References
Sources
- CVE-2026-65320 · CVE Program
- CVE-2026-65320 · NVD
- FIRST EPSS
- GHSA-f27m-m9m6-cf77 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-65320 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences