Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai

CVE-2024-10948Arbitrary File Read via Upload Function in binary-husky/gpt_academic

Medium 6.5

In plain English

A medium-severity path traversal in binary-husky/gpt_academic from binary-husky. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities).

Severity (CVSS 3.0)6.5Medium
Exploit odds (30 days)0.9%top 41.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected products (as reported)

VendorProductVersions
binary-husky binary-husky/gpt_academic unspecified – through latest

Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References