Cornac: 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | cornac | < 2.6.0 | 2.6.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-43637
- https://github.com/PreferredAI/cornac/pull/709
- https://github.com/PreferredAI/cornac/commit/8a50be72c11569b6747c6b96d6e31a0a1962f1a8
- https://github.com/PreferredAI/cornac
- https://github.com/PreferredAI/cornac/releases/tag/v2.6.0
- https://www.vulncheck.com/advisories/cornac-path-traversal-via-extract-archive-in-download-py
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
cornac- Disclosed
- 15.07.2026
- Updated
- 09.11.2026 23:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rrh3-cwwj-g5mg - CC BY 4.0
Vulnerability history: cornac
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.