CVE-2026-43637: PreferredAI cornac · Path Traversal
Affects PreferredAI cornacSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 2.6.0 soon.
Data as of 27 Nov 2026, 22:51 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 9.1 |
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.6.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade PreferredAI cornac to 2.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PreferredAIcornac | Affected
| Fixed in– |
GitHubcornacpkg:github/cornacOther threats | Affected
| Fixed in
|
PyPIcornacpkg:pypi/cornacOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid processing untrusted TAR archives with cornac's dataset loaders or modify the _extract_archive() function to validate and sanitize archive paths before extraction to prevent path traversal.
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.
References
- github.com/PreferredAI/cornac/releases/tag/v2.6.0 (opens in a new tab)
- github.com/PreferredAI/cornac/pull/709 (opens in a new tab)
- github.com/PreferredAI/cornac/commit/8a50be72c11569b6747c6b96d6e31a0a1962f1a8 (opens in a new tab)
- vulncheck.com/advisories/cornac-path-traversal-via-extract-archive-in-download-py (opens in a new tab)