High, CVSS 8.8PyPIAmendedPublished
Cornac: Path Traversal via _extract_archive() in download.py
CVE-2026-43637 · GHSA-rrh3-cwwj-g5mg
- Affected
- PyPI cornac < 2.6.0
- Fixed in
- 2.6.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 2.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.