Information disclosurein GaiZhenbiao ChuanhuChatGPT.
Proof of concept public (GitHub).
A timing attack vulnerability exists in the gaizhenbiao/chuanhuchatgpt repository, specifically within the password comparison logic. The vulnerability is present in version 20240310 of the software, where passwords are compared using the '=' operator in Python. This method of comparison allows an attacker to guess passwords based on the timing of each character's comparison. The issue arises from the code segment that checks a password for a particular username, which can lead to the exposure of sensitive information to an unauthorized actor. An attacker exploiting this vulnerability could potentially guess user passwords, compromising the security of the system.
- Upgrade gaizhenbiao/chuanhuchatgpt to 20240628 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 19 May 2024CVE ID reserved by @huntr_ai.
- 6 Jun 2024Published in the CVE List.
- 30 Oct 2024First public proof of concept on GitHub.
- 20 May 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other ChuanhuChatGPT vulnerabilities
Same weakness: Observable discrepancy
Patchminder. CVE-2024-5124: Information disclosure in GaiZhenbiao ChuanhuChatGPT. https://patchminder.com/cve/cve-2024-5124/ (accessed 5 December 2026).