Skip to content
OpenAdvisories
High · 8.1 CVE-2024-9216 EUVD-2025-6872GHSA-g3p7-f346-26m6PYSEC-2025-97

Authentication Bypass in gaizhenbiao/ChuanhuChatGPT

Published Mar 20, 2025 · Updated Mar 20, 2025 · Assigned by @huntr_ai

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 products

VendorProductAffectedFixed
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI chuanhuchatgpt <= 2024-12-04 — PYSEC-2025-97

References