8.8high
Remote Code Execution in binary-husky/gpt_academic
- Severity
- 8.8high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 1.65% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
Description
A vulnerability in binary-husky/gpt_academic version git 310122f allows for remote code execution. The application supports the extraction of user-provided RAR files without proper validation. The Python rarfile module, which supports symlinks, can be exploited to perform arbitrary file writes. This can lead to remote code execution by writing to sensitive files such as SSH keys, crontab files, or the application's own code.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| binary-husky binary-husky/gpt_academic | from unspecified up to latest | CVE List |
| binary-husky gpt_academic | 2024-10-15 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
A vulnerability in binary-husky/gpt_academic version git 310122f allows for remote code execution. The application supports the extraction of user-provided RAR files without proper validation. The Python rarfile module, which supports symlinks, can be exploited to perform arbitrary file writes. This can lead to remote code execution by writing to sensitive files such as SSH keys, crontab files, or the application's own code.
NVD (es)
Una vulnerabilidad en binary-husky/gpt_academic, versión git 310122f, permite la ejecución remota de código. La aplicación permite la extracción de archivos RAR proporcionados por el usuario sin la validación adecuada. El módulo rarfile de Python, que admite enlaces simbólicos, puede explotarse para realizar escrituras arbitrarias en archivos. Esto puede provocar la ejecución remota de código al escribir en archivos sensibles como claves SSH, archivos crontab o el propio código de la aplicación.
References
| https://huntr.com/bounties/1add2b26-460d-4aa5-8fda-ab045d153177 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-12390 changed 2025-10-15 | CVE Terms of Use |
| NVD | CVE-2024-12390 changed 2026-06-17 | Public domain |