# CVE-2025-25185: GPT Academic allows arbitary file read by tarfile uncompress within softlink

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-03T15:33:21.272Z
- Modified: 2026-06-17T09:00:26.660Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- binary-husky gpt_academic: <= 3.91

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/binary-husky/gpt_academic/security/advisories/GHSA-gqp5-wm97-qxcv> (exploit, vendor-advisory)
- <https://github.com/binary-husky/gpt_academic/commit/5dffe8627f681d7006cebcba27def038bb691949> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-25185 · Whole record: https://cve.day/CVE-2025-25185.json · Rebuilt by cve.day 2026-11-25T22:58:54.915Z
