Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-9216Authentication Bypass in gaizhenbiao/ChuanhuChatGPT
High 8.1
In plain English
A high-severity security flaw in gaizhenbiao/chuanhuchatgpt from gaizhenbiao. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities).
Official description
An authentication bypass vulnerability exists in gaizhenbiao/ChuanhuChatGPT, as of commit 3856d4f, allowing any user to read and delete other users' chat history. The vulnerability arises because the username is provided via an HTTP request from the client side, rather than being read from a secure source like a cookie. This allows an attacker to pass another user's username to the get_model function, thereby gaining unauthorized access to that user's chat history.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | chuanhuchatgpt | no fix listed | PYSEC-2025-97 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gaizhenbiao | gaizhenbiao/chuanhuchatgpt | unspecified – through latest |
Weakness: CWE-304 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N