CVE-2024-12389: A path traversal vulnerability exists in binary-husky/gpt_academic version git 310122f
CVE-2024-12389 is a high-severity flaw (CVSS 8.8) affecting gpt academic. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A path traversal vulnerability exists in binary-husky/gpt_academic version git 310122f. The application supports the extraction of user-provided 7z files without proper validation. The Python py7zr package used for extraction does not guarantee that files will remain within the intended extraction directory. An attacker can exploit this vulnerability to perform arbitrary file writes, which can lead to remote code execution.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 24%) |
| CISA exploited list | No |
| Weakness | CWE-29 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-12389?
gpt academic: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-12389 being exploited?
CVE-2024-12389 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-12389 affect?
CVE-2024-12389 affects gpt academic. Severity is high (CVSS 8.8). A path traversal vulnerability exists in binary-husky/gpt_academic version git 310122f. The application supports the extraction of user-provided 7z files without proper validation. The Python py7zr package used for extraction does not guara
How urgent is CVE-2024-12389?
Priority 55/100. High severity; Public exploit reference
Software pages
Python vulnerabilities · Git vulnerabilities
Related CVEs
- CVE-2026-0764 CRITICAL 9.8 DOWNGRADE GPT Academic upload Deserialization of Untrusted Data Remote Code Execution Vulnerability
- CVE-2026-0763 CRITICAL 9.8 DOWNGRADE GPT Academic run_in_subprocess_wrapper_func Deserialization of Untrusted Data Remote Code Execution Vulnerabil
- CVE-2026-0762 HIGH 8.1 DOWNGRADE GPT Academic stream_daas Deserialization of Untrusted Data Remote Code Execution Vulnerability
- CVE-2025-25185 HIGH 7.5 MITIGATE GPT Academic provides interactive interfaces for large language models
- CVE-2025-10236 MEDIUM 4.3 UPGRADE A vulnerability has been found in binary-husky gpt_academic up to 3.91