Read the docs

Path traversal in fastcore untar_dir lets attackers overwrite files

Priority HIGH 75CWE-22Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01455 73rd percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
AnswerDotAIfastcoreup to 2.2.44—No fix listedCNA
  • 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 →

ProductStatusPlan or fix
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Not affected: 1 product
  • Red Hat OpenShift AI (RHOAI)

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-65320
  2. 2026-11-24 Alias added: GHSA-f27m-m9m6-cf77
  3. 2026-11-24 CISA SSVC decision points changed
  4. 2026-11-25 Affected versions changed · Red Hat
  5. 2026-11-25 CVSS score added · Red Hat
  6. 2026-11-26 Affected versions changed · Red Hat

References

Sources