CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

7.5 CVSS

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.

Classification

CVE ID: CVE-2025-25185

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types

CWE-59: Improper Link Resolution Before File Access ('Link Following')

Affected Products

Vendor: binary-husky

Product: gpt_academic

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.07% (probability of being exploited)

EPSS Percentile: 18.26% (scored less or equal to compared to others)

EPSS Date: 2025-04-01 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: poc

SSVC Technical Impact: partial

SSVC Automatable: true

References

https://nvd.nist.gov/vuln/detail/CVE-2025-25185
https://github.com/binary-husky/gpt_academic/security/advisories/GHSA-gqp5-wm97-qxcv
https://github.com/binary-husky/gpt_academic/commit/5dffe8627f681d7006cebcba27def038bb691949

Timeline