VDB
Sign up
HIGH8.1

PYSEC-2025-97

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/chuanhuchatgpt
Introduced in: 0

No fixed version published yet for chuanhuchatgpt (pip). Pin to a known-safe version or switch to an alternative.

References