Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-43637: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in PreferredAI cornac

0
High
VulnerabilityCVE-2026-43637cvecve-2026-43637
Published: 07/15/2026 (07/15/2026, 13:54:38 UTC)
Source: CVE Database V5
Vendor/Project: PreferredAI
Product: cornac

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.

CVSS v4.0

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
cornac
pkg:github/cornac
Affected versions
<2.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 14:33:01 UTC

Technical Analysis

CVE-2026-43637 is a path traversal (Tar Slip) vulnerability in PreferredAI's cornac library before version 2.6.0. The issue arises in the _extract_archive() function located in cornac/utils/download.py, where TAR archives containing malicious path components (e.g., ../ sequences, absolute paths, symlinks, or hardlinks) are extracted without proper validation. This allows attackers to write files outside the intended cache directory. The vulnerability can be exploited through cornac's built-in dataset loaders that automatically download and extract TAR archives, causing archive.extractall() to write files to arbitrary filesystem locations accessible by the process.

Potential Impact

Successful exploitation allows an unauthenticated attacker to write arbitrary files to locations outside the intended cache directory on the filesystem accessible to the cornac process. This can lead to unauthorized file modification or creation, potentially enabling further attacks or system compromise depending on the environment and permissions of the running process.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted TAR archives with cornac's dataset loaders or modify the _extract_archive() function to validate and sanitize archive paths before extraction to prevent path traversal. Monitor the PreferredAI cornac project for updates and apply official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-01T18:22:45.642Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a57970468715ace43de4738

Added to database: 07/15/2026, 14:19:48 UTC

Last enriched: 07/15/2026, 14:33:01 UTC

Last updated: 07/15/2026, 14:48:46 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses