CVE-2024-31224 GPT Academic: Pickle deserializing cookies may pose RCE risk
Attackers can achieve remote code execution by sending malicious serialized data to the GPT Academic web interface.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-31224?
CVE-2024-31224 is a critical unsafe deserialization vulnerability in binary-husky gpt_academic, published on 8 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
GPT Academic provides interactive interfaces for large language models. A vulnerability was found in gpt_academic versions 3.64 through 3.73. The server deserializes untrustworthy data from the client, which may risk remote code execution. Any device that exposes the GPT Academic service to the Internet is vulnerable. Version 3.74 contains a patch for the issue. There are no known workarounds aside from upgrading to a patched version.
Weakness: CWE-502
Which versions are affected by CVE-2024-31224?
It affects 1 product.
Products include Binary-Husky Gpt Academic.
How do I fix CVE-2024-31224?
No fix has been published for CVE-2024-31224 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-31224 being exploited?
There is no known exploitation of CVE-2024-31224 in the wild and no public exploit code.
Other vulnerabilities in binary-husky gpt_academic
- CVE-2026-0763 GPT Academic run_in_subprocess_wrapper_func Deserialization of Untrusted Data Remote Code Execution Vulnerability
- CVE-2026-0764 GPT Academic upload Deserialization of Untrusted Data Remote Code Execution Vulnerability
- CVE-2024-10950 Code Injection in binary-husky/gpt_academic
- CVE-2024-10954 Prompt Injection Leading to RCE in binary-husky/gpt_academic Plugin `manim`
- CVE-2024-10986 Local File Read (LFI) by Tarslip Symlink via arxiv_download() API in binary-husky/gpt_academic
Sources
Also known as GHSA-jcjc-89wr-vv7g.