Advisory

PYSEC-2025-97

Also known as: CVE-2024-9216

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2025-03-20 10:15 UTC
Modified
2026-05-21 15:00 UTC

Affected packages and fixes

chuanhuchatgpt

PyPI · All systems

Affected

  • introduced 0, last affected 2024-12-04 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences