CVE-2023-33979 gpt_academic's Configuration File vulnerable to File Information Disclosure
Attackers can read sensitive configuration files via the /file route in gpt_academic, exposing secrets stored in config.py or Dockerfiles.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-33979?
CVE-2023-33979 is a medium-severity vulnerability in binary-husky gpt_academic, published on 31 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
gpt_academic provides a graphical interface for ChatGPT/GLM. A vulnerability was found in gpt_academic 3.37 and prior. This issue affects some unknown processing of the component Configuration File Handler. The manipulation of the argument file leads to information disclosure. Since no sensitive files are configured to be off-limits, sensitive information files in some working directories can be read through the `/file` route, leading to sensitive information leakage. This affects users that uses file configurations via `config.py`, `config_private.py`, `Dockerfile`. A patch is available at commit 1dcc2873d2168ad2d3d70afcb453ac1695fbdf02. As a workaround, one may use environment variables instead of `config*.py` files to configure this project, or use docker-compose installation to configure this project.
Weakness: CWE-200
Which versions are affected by CVE-2023-33979?
It affects 1 product.
Products include Binary-Husky Gpt Academic.
How do I fix CVE-2023-33979?
No fix has been published for CVE-2023-33979 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-33979 being exploited?
There is no known exploitation of CVE-2023-33979 in the wild and no public exploit code.
Other vulnerabilities in binary-husky gpt_academic
- CVE-2026-0763 GPT Academic run_in_subprocess_wrapper_func Deserialization of Untrusted Data Remote Code Execution Vulnerability
- CVE-2026-0764 GPT Academic upload Deserialization of Untrusted Data Remote Code Execution Vulnerability
- CVE-2024-31224 GPT Academic: Pickle deserializing cookies may pose RCE risk
- CVE-2024-10950 Code Injection in binary-husky/gpt_academic
- CVE-2024-10954 Prompt Injection Leading to RCE in binary-husky/gpt_academic Plugin `manim`
Sources
Also known as GHSA-pg65-p24m-wf5g.