CVE-2024-10707: gaizhenbiao/chuanhuchatgpt · Path Traversal
Affects gaizhenbiao/chuanhuchatgptSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 12:54 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
- Implement strict input validation and sanitization on all JSON inputs processed by the handle_dataset_selection function, ensuring that file paths are normalized and constrained within allowed directories.
- Employ allowlisting of file paths and reject any input that attempts directory traversal sequences such as '../'.
- Restrict file system permissions for the application user to limit access only to necessary directories, minimizing the impact of any path traversal attempts.
- Monitor and log all file upload activities and JSON inputs for anomalous patterns indicative of exploitation attempts.
- If possible, isolate the gaizhenbiao/chuanhuchatgpt service in a sandboxed or containerized environment to limit the blast radius of any compromise.
- Stay updated with vendor advisories and apply patches promptly once available.
- Conduct regular security audits and code reviews focusing on input handling in components that process user-supplied data.
- Educate internal users and administrators about the risks of privilege escalation and enforce the principle of least privilege to reduce the likelihood of local privilege abuse.
Description
gaizhenbiao/chuanhuchatgpt version git d4ec6a3 is affected by a local file inclusion vulnerability due to the use of the gradio component gr.JSON, which has a known issue (CVE-2024-4941). This vulnerability allows unauthenticated users to access arbitrary files on the server by uploading a specially crafted JSON file and exploiting the improper input validation in the handle_dataset_selection function.