What’s Vulnerable › Vulnerabilities
CVE-2026-43637: Cornac < 2.6.0 Path Traversal via _extract_archive() in download.py
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-15 · updated 2026-10-24
- Weakness: CWE-22
Description
Cornac before 2.6.0 contains a path traversal (Tar Slip) vulnerability that allows attackers to write arbitrary files outside the intended cache directory by supplying a crafted TAR archive containing ../ sequences, absolute paths, or symlink/hardlink entries to the _extract_archive() function in cornac/utils/download.py. Attackers can trigger this vulnerability through the built-in dataset loaders, which automatically download and extract archives, causing archive.extractall() to write files to arbitrary locations on the filesystem accessible to the running process.
Affected products
- PreferredAI cornac: before 2.6.0 — fixed in 2.6.0
How to fix
Upgrade to a fixed version: PreferredAI cornac 2.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/PreferredAI/cornac/commit/8a50be72c11569b6747c6b96d6e31a0a1962f1a8
- https://github.com/PreferredAI/cornac/pull/709
- https://github.com/PreferredAI/cornac/releases/tag/v2.6.0
- https://www.vulncheck.com/advisories/cornac-path-traversal-via-extract-archive-in-download-py
Get alerted when CVE-2026-43637 or the next vulnerability affects your stack