Skip to content
MediumVulnerabilityLLM-specific

CVE-2024-10948: binary-husky/gpt_academic arbitrary file read through upload function

Identifier
CVE-2024-10948
Published
Record updated
View JSON

Summary

CVE-2024-10948 affects the upload function of binary-husky/gpt_academic, in the latest version of the product. Any user can read arbitrary files on the system, including sensitive files such as `config.py`, by intercepting the websocket request during file upload and replacing the file path with the target path. The server copies the file to the `private_upload` folder and returns its path, which can then be fetched with a GET request.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.