CVE-2024-10707
JSON

6.5medium

Local File Inclusion in gaizhenbiao/chuanhuchatgpt

Severity
6.5medium CVSS:3.0 by @huntr_ai
Exploit likelihood
0.74% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
PYSEC-2025-93

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.

Affected

Product or packageVersionsReported by
gaizhenbiao gaizhenbiao/chuanhuchatgptfrom unspecified up to latestCVE List
gaizhenbiao chuanhuchatgpt2024-09-25NVD
chuanhuchatgpt (PyPI)up to 2024-09-25PyPA Advisory Database

All scores

@huntr_ai6.5medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database6.5medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

La versión git d4ec6a3 de gaizhenbiao/chuanhuchatgpt se ve afectada por una vulnerabilidad de inclusión de archivos locales debido al uso del componente gr.JSON de gradio, que presenta un problema conocido (CVE-2024-4941). Esta vulnerabilidad permite a usuarios no autenticados acceder a archivos arbitrarios en el servidor subiendo un archivo JSON especialmente manipulado y aprovechando la validación de entrada incorrecta en la función handle_dataset_selection.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-10707 changed 2025-10-15CVE Terms of Use
NVDCVE-2024-10707 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2025-93 changed 2026-05-21CC-BY-4.0