CVEvulnerability
CVE-2024-10948
6.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-03-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 6.5 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
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 configurations
• binary-husky gpt academic 3.83
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://huntr.com/bounties/290a379d-8441-4292-a553-3587e8c5c729 Exploit, Third Party Advisory
- https://huntr.com/bounties/290a379d-8441-4292-a553-3587e8c5c729 Exploit, Third Party Advisory