CVE-2024-9159 Incorrect Authorization in gaizhenbiao/chuanhuchatgpt
An attacker can restart the server without admin privileges, causing a complete loss of availability in the ChuanhuChatGPT application.
- 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-2024-9159?
CVE-2024-9159 is a medium-severity missing authorization vulnerability in gaizhenbiao/chuanhuchatgpt, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An incorrect authorization vulnerability exists in gaizhenbiao/chuanhuchatgpt version git c91dbfc. The vulnerability allows any user to restart the server at will, leading to a complete loss of availability. The issue arises because the function responsible for restarting the server is not properly guarded by an admin check.
Weakness: CWE-863
Which versions are affected by CVE-2024-9159?
1 open source package ship an affected version, including chuanhuchatgpt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
chuanhuchatgpt PyPI | All versions to 2024-12-04 | None |
Products include Gaizhenbiao Chuanhuchatgpt.
How do I fix CVE-2024-9159?
No fix has been published for CVE-2024-9159 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-9159 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9159 exists.
Other vulnerabilities in gaizhenbiao/chuanhuchatgpt
- CVE-2024-3234 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-5982 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-6255 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-8613 Improper Access Control in gaizhenbiao/chuanhuchatgpt
- CVE-2024-9216 Authentication Bypass in gaizhenbiao/ChuanhuChatGPT
Sources
Also known as GHSA-rxwh-3m8p-2qq5, PYSEC-2025-96.