PreferredAI Cornac
Cornac < 2.6.0 Path Traversal via _extract_archive() in download.py
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.6.0
Fixed in 2.6.0
Mitigation
Upgrade cornac to 2.6.0 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 19 days after publication; not in CISA KEV. First PoC: rahulreddykarne/CVE-2026-43637-cornac (created 3 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| rahulreddykarne/CVE-2026-43637-cornac | 3 Aug 2026 +19 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.