CVE-2026-43637: Cornac < 2.6.0 Path Traversal via _extract_archive() in download.py
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.
Security readout for executives and security teams
Plain-English summary
Cornac before 2.6.0 can unpack a malicious TAR archive outside its intended cache directory. In affected automated dataset-loading workflows, this could let an attacker overwrite files the process can access, creating integrity and availability risk for ML systems.
Executive priority
Prioritize remediation for production or shared ML systems that automatically fetch datasets. The CVSS 9.1 rating reflects high potential file integrity and availability impact, even though active exploitation is not evidenced here.
Technical view
The issue is a CWE-22 path traversal in cornac/utils/download.py _extract_archive(). Built-in dataset loaders may automatically download and extract archives, and unsafe extraction can write outside the cache directory through crafted archive paths or link entries.
Likely exposure
Exposure is most likely in Python environments using PreferredAI Cornac before 2.6.0, especially ML pipelines or notebooks that use built-in dataset loaders or process archives from external sources.
Exploitation context
The source bundle reports no KEV listing and provides no evidence of active exploitation. The attack path depends on a vulnerable Cornac workflow extracting attacker-controlled or compromised dataset archives.
Researcher notes
Focus validation on data-loading paths rather than general Cornac usage. Evidence names _extract_archive(), automatic dataset loaders, unsafe extractall() behavior, and the 2.6.0 patch. No exploit status beyond the provided sources is established.
Mitigation direction
Upgrade Cornac to version 2.6.0 or later.
Review the v2.6.0 release notes and patch commit.
Avoid untrusted dataset archives until upgraded.
Restrict filesystem permissions for ML jobs using Cornac.
Check vendor guidance for any additional remediation details.
Validation and detection
Inventory environments for installed Cornac versions below 2.6.0.
Identify workflows using Cornac built-in dataset loaders.
Confirm archives are sourced only from trusted locations.
Verify upgraded environments run Cornac 2.6.0 or later.
Review cache and working directory permissions for affected jobs.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.