CVE-2024-7962: An arbitrary file read vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240628 due to insufficient
CVE-2024-7962 is a high-severity flaw (CVSS 7.5) affecting chuanhuchatgpt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An arbitrary file read vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240628 due to insufficient validation when loading prompt template files. An attacker can read any file that matches specific criteria using an absolute path. The file must not have a .json extension and, except for the first line, every other line must contain commas. This vulnerability allows reading parts of format-compliant files, including code and log files,
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-7962?
chuanhuchatgpt: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-7962 being exploited?
CVE-2024-7962 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-7962 affect?
CVE-2024-7962 affects chuanhuchatgpt. Severity is high (CVSS 7.5). An arbitrary file read vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240628 due to insufficient validation when loading prompt template files. An attacker can read any file that matches specific criteria using an absolute pat
How urgent is CVE-2024-7962?
Priority 50/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-0191 MEDIUM 6.5 DOWNGRADE A Denial of Service (DoS) vulnerability exists in the file upload feature of gaizhenbiao/chuanhuchatgpt versio
- CVE-2025-0188 MEDIUM 6.5 DOWNGRADE A Server-Side Request Forgery (SSRF) vulnerability was discovered in gaizhenbiao/chuanhuchatgpt version 202409
- CVE-2024-9216 HIGH 8.1 DOWNGRADE An authentication bypass vulnerability exists in gaizhenbiao/ChuanhuChatGPT, as of commit 3856d4f, allowing an
- CVE-2024-9159 MEDIUM 6.5 DOWNGRADE An incorrect authorization vulnerability exists in gaizhenbiao/chuanhuchatgpt version git c91dbfc
- CVE-2024-9107 MEDIUM 5.4 DOWNGRADE A stored cross-site scripting (XSS) vulnerability exists in the gaizhenbiao/chuanhuchatgpt repository, affecti