High severity7.5NVD Advisory· Published Oct 29, 2024· Updated Jun 17, 2026
CVE-2024-7962
CVE-2024-7962
Description
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, which may contain highly sensitive information such as account credentials.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2= 20240628+ 1 more
- (no CPE)range: = 20240628
- (no CPE)range: unspecified
Patches
Vulnerability mechanics
References
2- github.com/gaizhenbiao/chuanhuchatgpt/commit/2836fd1db3efcd5ede63c0e7fbbdf677730dbb51nvdPatch
- huntr.com/bounties/83f0a8e1-490c-49e7-b334-02125ee0f1b1nvdExploitThird Party Advisory
News mentions
0No linked articles in our index yet.