Unauthenticated file disclosure via unchecked tar symlinks
Published Mar 3, 2025 · Updated Mar 3, 2025
CWE-59 link following in GPT Academic 3.91 and earlier allows remote attackers to read arbitrary server files through a crafted tar archive. The extract_archive function validates each tar member's pathname but passes symbolic-link members to tarfile.extractall without rejecting their link targets. No authentication or user interaction is required; retrieving the extracted link discloses files readable by the server process.
Summary
What happened
CWE-59 link following in GPT Academic 3.91 and earlier allows remote attackers to read arbitrary server files through a crafted tar archive. The extract_archive function validates each tar member's pathname but passes symbolic-link members to tarfile.extractall without rejecting their link targets. No authentication or user interaction is required; retrieving the extracted link discloses files readable by the server process.
The record
- CVE
- CVE-2025-25185
- Published
- Mar 3, 2025
- Updated
- Mar 3, 2025
- Vendor
- GPT Academic
- Product
- GPT Academic
- Classifications
- CWE-59, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 3, 2025CVE publishedPublication date reported by the CVE source.
- Mar 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 3.91
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-gqp5-wm97-qxcv tar symlink proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo