Skip to main content
CVE-2024-10707VulnerabilityPublished Updated

CVE-2024-10707: gaizhenbiao/chuanhuchatgpt · Path Traversal

Affects gaizhenbiao/chuanhuchatgptSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 6.5 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

AI-suggested

1. 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. 2. Employ allowlisting of file paths and reject any input that attempts directory traversal sequences such as '../'. 3. Restrict file system permissions for the application user to limit access only to necessary directories, minimizing the impact of any path traversal attempts. 4. Monitor and log all file upload activities and JSON inputs for anomalous patterns indicative of exploitation attempts. 5. If possible, isolate the gaizhenbiao/chuanhuchatgpt service in a sandboxed or containerized environment to limit the blast radius of any compromise. 6. Stay updated with vendor advisories and apply patches promptly once available. 7. Conduct regular security audits and code reviews focusing on input handling in components that process user-supplied data. 8. 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.

References

Community reviews

Loading reviews…