Skip to main content

Cornac EUVDEUVD-2026-44669

| CVE-2026-43637 HIGH
Path Traversal (CWE-22)
2026-07-15 VulnCheck GHSA-rrh3-cwwj-g5mg
8.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host or MITM malicious dataset archive
  2. Delivery
    Victim invokes built-in dataset loader
  3. Exploit
    Cornac auto-downloads crafted TAR
  4. Execution
    extractall() follows ../ and symlink entries
  5. Persist
    Arbitrary files written outside cache dir
  6. Impact
    Overwrite cron/SSH/module for code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control the contents of a TAR archive that Cornac fetches through its built-in dataset loaders (which call _extract_archive() → archive.extractall() in cornac/utils/download.py), and the malicious archive must contain ../ traversal sequences, absolute paths, or symlink/hardlink entries. The affected code runs on any version before 2.6.0. The practical limiting factor is that the attacker must be positioned to supply that archive - by hosting a malicious dataset the victim chooses to load, compromising the dataset host/mirror, or performing a MITM on a non-integrity-verified download - rather than reaching the victim purely unsolicited; the CVSS PR:N/UI:N metrics do not capture this required control over the download source. Impact is bounded to files writable by the running process user.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VI:H/VA:H, score 8.8) models unauthenticated network exploitation with high integrity and availability impact and no confidentiality loss - consistent with arbitrary file write rather than direct data theft. That vector is optimistic in one respect: exploitation is not truly 'no conditions' because the attacker must control the content of the archive Cornac downloads, which in practice means compromising or MITM'ing a dataset source or convincing a user to load a malicious dataset - a real limiting factor the base metrics understate. There is no EPSS score, no KEV listing, and no published POC in the provided data, so this is a credible integrity/RCE-class bug in a research library rather than a mass-exploited threat. Priority is moderate: high technical impact, but the affected software is a niche ML library and successful attacks require influence over the dataset supply chain, so it is more relevant to ML/research pipelines than to broad enterprise fleets.

Exploit ScenarioDerived

An attacker who can influence a dataset archive Cornac downloads - by hosting a malicious 'benchmark' dataset, compromising a mirror, or intercepting an unauthenticated download - serves a crafted TAR whose members use ../ sequences or a symlink pointing outside the cache directory. When a researcher's script calls a built-in dataset loader, Cornac auto-downloads and extractall()s the archive, silently writing attacker-controlled files (e.g., a cron job, SSH key, or Python module on the import path) to arbitrary locations, enabling persistence or code execution as the running user. No public POC is identified, but the technique is well-known and low-complexity.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Arbitrary file write in Cornac's dataset-download utility (all versions before 2.6.0) lets an attacker who controls a downloaded TAR archive place files anywhere the Python process can write, because the _extract_archive() helper in cornac/utils/download.py calls archive.extractall() without validating member paths. Since Cornac's built-in dataset loaders automatically fetch and unpack archives, a poisoned or MITM'd dataset archive containing ../ traversal, absolute paths, or symlink/hardlink entries can overwrite sensitive files and potentially achieve code execution. VulnCheck reported the issue; no public exploit identified at time of analysis and it is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade Cornac to 2.6.0 or later (pip install --upgrade cornac), which the 2.6.0 release notes describe as 'Fix CWE-22 path traversal (Tar Slip) in dataset archive extraction' (PR #709, commit 8a50be72). Until you can upgrade, avoid loading datasets from untrusted or third-party archive URLs and only fetch from sources you control over TLS to prevent tampering; if you must extract untrusted archives, do it in a disposable sandbox/container with a low-privilege user and no write access outside a scratch directory so a traversal write cannot reach sensitive paths, accepting the trade-off of added pipeline complexity. You can also pin and integrity-check (hash-verify) downloaded dataset archives before extraction to detect substituted payloads. See the VulnCheck advisory (https://www.vulncheck.com/advisories/cornac-path-traversal-via-extract-archive-in-download-py) and the GitHub release for authoritative details.

Affected VersionsENISA

cornac 0 <2.6.0

Affected Packages

pypi cornac fix: 2.6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cornac is an open-source Python framework from Preferred.AI for comparative and multimodal recommender-systems research (CPE cpe:2.3:a:preferredai:cornac). The flaw is a classic 'Tar Slip' - a CWE-22 path traversal specific to archive extraction. Python's tarfile/zipfile extractall() blindly honors the path stored in each archive member, so entries like ../../etc/cron.d/x, /root/.ssh/authorized_keys, or a symlink pointing outside the target directory are written to their declared destination rather than being confined to the intended cache directory. Cornac's download.py used extractall() with no per-member path canonicalization or symlink filtering, and its dataset loaders invoke this path automatically as part of fetching benchmark datasets, so the unsafe extraction runs without an explicit user 'extract this untrusted file' action.

Know when Cornac gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 6.8 MEDIUM

Attacker must interpose on or supply the downloaded archive (AC:H) and the victim must invoke a dataset loader (UI:R); arbitrary file write gives I:H/A:H with no direct confidentiality loss (C:N).

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 pypi packages depend on cornac (2 direct, 0 indirect)

Ecosystem-wide dependent count for version 2.6.0.

Executive ViewAI

Why It Matters

Cornac, a widely-used Python machine learning library, contains an arbitrary file write vulnerability in its dataset-download utility that allows attackers controlling a malicious dataset archive to overwrite critical system files and potentially execute code. Organizations using Cornac for automated dataset ingestion face immediate risk of system compromise if datasets are sourced from untrusted or unvalidated origins.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche open-source recommender-systems research library, limited production footprint
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy