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).

Severity (CVSS 3.0)8.1High
Exploit odds (30 days)0.6%top 49.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIchuanhuchatgptno fix listedPYSEC-2025-97

Affected products (as reported)

VendorProductVersions
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

References