Advisory

GHSA-rrh3-cwwj-g5mg

Also known as: CVE-2026-43637

Summary

Cornac: Path Traversal via _extract_archive() in download.py

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-15 15:33 UTC
Modified
2026-11-09 22:00 UTC

Affected packages and fixes

cornac

PyPI · All systems

Affected

  • introduced 0, fixed 2.6.0 (ecosystem)

Fixed versions

2.6.0

Fix

  • Fixed version 2.6.0
    pip install --upgrade cornac==2.6.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences