CVE-2025-25185CWE-59

GPT Academic allows arbitary file read by tarfile uncompress within softlink

High · published March 3, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
49.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00635 · 49.8th percentile
Weakness
CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2025-03-03T15:33Z
EPSS history
Timeline
  • 03 MAR 15:33Z
    GPT Academic allows arbitary file read by tarfile uncompress within softlink
    cvelistv5