GHSA-rrh3-cwwj-g5mgHighCVSS 9.1

Cornac: Path Traversal via _extract_archive() in download.py

Published
July 15, 2026
Last Modified
November 9, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • pip/cornac:< 2.6.0

🔗 References (6)