Skip to content
HighVulnerabilityLLM-specific

CVE-2024-12389: binary-husky/gpt_academic path traversal in 7z extraction via py7zr

Identifier
CVE-2024-12389
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A path traversal vulnerability in binary-husky/gpt_academic at git 310122f affects its handling of user-provided 7z files. The application extracts these archives with the Python py7zr package without proper validation, and py7zr does not guarantee that extracted files stay inside the intended extraction directory. An attacker can exploit this for arbitrary file writes, which can lead to remote code execution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.