Vulnerability · Published Mar 3, 2025 · Assigned by GitHub_M
CVE-2025-25185GPT Academic allows arbitary file read by tarfile uncompress within softlink
High 7.5
In plain English
A high-severity security flaw in gpt_academic from binary-husky. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).
Official description
GPT Academic provides interactive interfaces for large language models. In 3.91 and earlier, GPT Academic does not properly account for soft links. An attacker can create a malicious file as a soft link pointing to a target file, then package this soft link file into a tar.gz file and upload it. Subsequently, when accessing the decompressed file from the server, the soft link will point to the target file on the victim server. The vulnerability allows attackers to read all files on the server.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| binary-husky | gpt_academic | <= 3.91 |
Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N