# CVE-2024-12389: Path Traversal in binary-husky/gpt_academic

- Severity: High 8.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.65%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:43.404Z
- Modified: 2026-06-17T06:59:37.927Z
- Weaknesses: CWE-29
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- binary-husky binary-husky/gpt_academic: from unspecified up to latest
- binary-husky gpt_academic: 2024-10-15

## References

- <https://huntr.com/bounties/37afb1c9-bba9-47ee-8617-a5f715271654> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-12389](https://www.cve.org/CVERecord?id=CVE-2024-12389), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-12389](https://nvd.nist.gov/vuln/detail/CVE-2024-12389), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12389 · Whole record: https://cve.day/CVE-2024-12389.json · Rebuilt by cve.day 2026-11-25T22:58:52.358Z
