CVE-2024-31224
CWE-502Published: April 8, 2024· Updated: Jun 17, 2026
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.
Risk Analysis
GPT Academic versions 3.64 through 3.73 are vulnerable to remote code execution due to insecure deserialization of untrustworthy client data. This critical flaw allows attackers to execute arbitrary code on the server, making it a high-priority risk for any exposed instance.
No public exploit is known, and the vulnerability is not in the KEV catalog. It is remotely exploitable with low complexity.
Upgrade to version 3.74 or later to address the deserialization flaw. There are no known workarounds other than patching.
Technical Analysis
CVE-2024-31224 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-502): Insecure deserialization vulnerabilities allow attackers to inject malicious objects during deserialization, potentially enabling remote code execution.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-502)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-31224 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts