CVE-2026-43637 Details
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.
A path traversal vulnerability has been identified in Cornac versions prior to 2.6.0. This vulnerability, classified as a 'Tar Slip' issue, allows attackers to write arbitrary files outside the designated cache directory. The vulnerability arises from the _extract_archive() function in cornac/utils/download.py, which can be exploited by sending a crafted TAR archive that includes ../ sequences, absolute paths, or symlink/hardlink entries. The built-in dataset loaders can trigger this vulnerability by automatically downloading and extracting archives, which causes archive.extractall() to write files to unintended locations on the filesystem that are accessible to the running process.
Users can upgrade to Cornac version 2.6.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 15, 2026CISA-ADP
Assessed Jul 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/PreferredAI/cornac/commit/8a50be72c11569b6747c6b96d6e31a0a1962f1a8 | [email protected] | Source CodeVendor |
| https://github.com/PreferredAI/cornac/pull/709 | [email protected] | Issue TrackingVendor |
| https://github.com/PreferredAI/cornac/releases/tag/v2.6.0 | [email protected] | Release NotesVendor |
| https://www.vulncheck.com/advisories/cornac-path-traversal-via-extract-archive-in-download-py | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PreferredAI Cornac | < 2.6.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | New CVE Received | [email protected] |
Volerion