# CVE-2026-43637: Cornac < 2.6.0 Path Traversal via _extract_archive() in download.py

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-07-15T13:54:38.892Z
- Modified: 2026-11-09T22:00:07.747Z
- Also known as: GHSA-rrh3-cwwj-g5mg
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- PreferredAI cornac: before 2.6.0
- cornac (PyPI): before 2.6.0

## Every score

- VulnCheck: CVSS:4.0 8.8 High `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: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## 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

- CVE List: [CVE-2026-43637](https://www.cve.org/CVERecord?id=CVE-2026-43637), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-rrh3-cwwj-g5mg](https://github.com/advisories/GHSA-rrh3-cwwj-g5mg), CC-BY-4.0, modified 2026-11-09
- NVD: [CVE-2026-43637](https://nvd.nist.gov/vuln/detail/CVE-2026-43637), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-43637 · Whole record: https://cve.day/CVE-2026-43637.json · Rebuilt by cve.day 2026-11-25T22:59:28.287Z
