8.8high
Cornac < 2.6.0 Path Traversal via _extract_archive() in download.py
- Severity
- 8.8high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.70% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-rrh3-cwwj-g5mg
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
| Product or package | Versions | Reported by |
|---|---|---|
| PreferredAI cornac | before 2.6.0 | CVE List |
| cornac (PyPI) | before 2.6.0 | GitHub Advisory Database |
All scores
| VulnCheck | 8.8high CVSS:4.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:N |
| VulnCheck | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 9.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| GitHub | high CVSS:4.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:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Cornac anterior a 2.6.0 contiene una vulnerabilidad de salto de ruta (Tar Slip) que permite a los atacantes escribir archivos arbitrarios fuera del directorio de caché previsto al proporcionar un archivo TAR manipulado que contiene secuencias .. / , rutas absolutas o entradas de enlaces simbólicos/enlaces duros a la función _extract_archive() en cornac/utils/download.py. Los atacantes pueden activar esta vulnerabilidad a través de los cargadores de conjuntos de datos integrados, que descargan y extraen archivos automáticamente, haciendo que archive.extractall() escriba archivos en ubicaciones arbitrarias en el sistema de archivos accesible para el proceso en ejecución.
References
| https://github.com/PreferredAI/cornac/releases/tag/v2.6.0 | release-notes, web | |
| https://github.com/PreferredAI/cornac/pull/709 | issue-tracking, patch, web | |
| https://github.com/PreferredAI/cornac/commit/8a50be72c11569b6747c6b96d6e31a0a1962f1a8 | patch, web | |
| https://www.vulncheck.com/advisories/cornac-path-traversal-via-extract-archive-in-download-py | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-43637 | advisory | |
| https://github.com/PreferredAI/cornac | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43637 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rrh3-cwwj-g5mg changed 2026-11-09 | CC-BY-4.0 |
| NVD | CVE-2026-43637 changed 2026-10-24 | Public domain |