# CVE-2024-9216: Authentication Bypass in gaizhenbiao/ChuanhuChatGPT

- Severity: High 8.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:38.173Z
- Modified: 2026-06-17T08:24:09.500Z
- Also known as: PYSEC-2025-97
- Weaknesses: CWE-304
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: from unspecified up to latest
- gaizhenbiao chuanhuchatgpt: 2024-12-04
- chuanhuchatgpt (PyPI): up to 2024-12-04

## Every score

- @huntr_ai: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://huntr.com/bounties/21e54c3f-e2d7-423b-9890-1f0cb99af4dd> (exploit, evidence, third-party-advisory)

## Sources

- CVE List: [CVE-2024-9216](https://www.cve.org/CVERecord?id=CVE-2024-9216), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-9216](https://nvd.nist.gov/vuln/detail/CVE-2024-9216), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-97](https://osv.dev/vulnerability/PYSEC-2025-97), CC-BY-4.0, modified 2026-05-21

---

Page: https://cve.day/CVE-2024-9216 · Whole record: https://cve.day/CVE-2024-9216.json · Rebuilt by cve.day 2026-11-25T22:58:52.409Z
