CVE-2026-43637
JSON

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 packageVersionsReported by
PreferredAI cornacbefore 2.6.0CVE List
cornac (PyPI)before 2.6.0GitHub Advisory Database

All scores

VulnCheck8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub9.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHubhigh CVSS:4.0CVSS: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

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2026-43637 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-rrh3-cwwj-g5mg changed 2026-11-09CC-BY-4.0
NVDCVE-2026-43637 changed 2026-10-24Public domain