CVE-2024-10948

MEDIUM

binary-husky gpt_academic - Unauthenticated Arbitrary File Read via WebSocket Upload Path Manipulation

Title source: llm
STIX 2.1

Description

A vulnerability in the upload function of binary-husky/gpt_academic allows any user to read arbitrary files on the system, including sensitive files such as `config.py`. This issue affects the latest version of the product. An attacker can exploit this vulnerability by intercepting the websocket request during file upload and replacing the file path with the path of the file they wish to read. The server then copies the file to the `private_upload` folder and provides the path to the copied file, which can be accessed via a GET request. This vulnerability can lead to the exposure of sensitive system files, potentially including credentials, configuration files, or sensitive user data.

References (1)

Core 1
Core References

Scores

CVSS v3 6.5
EPSS 0.0072
EPSS Percentile 49.0%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (1)
binary-husky/gpt_academic 3.83
Published Mar 20, 2025
Tracked Since Feb 18, 2026