CVE-2024-9159 Incorrect Authorization in gaizhenbiao/chuanhuchatgpt

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
chuanhuchatgpt PyPIAll versions to 2024-12-04None

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.

Sources

Also known as GHSA-rxwh-3m8p-2qq5, PYSEC-2025-96.

Is CVE-2024-9159 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free