CVE-2024-10707 Local File Inclusion in gaizhenbiao/chuanhuchatgpt
Unauthenticated attackers can read arbitrary server files via local file inclusion in the gradio JSON component.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-10707?
CVE-2024-10707 is a medium-severity path traversal vulnerability in gaizhenbiao/chuanhuchatgpt, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2024-10707?
1 open source package ship an affected version, including chuanhuchatgpt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
chuanhuchatgpt PyPI | All versions to 2024-09-25 | None |
Products include Gaizhenbiao Chuanhuchatgpt.
How do I fix CVE-2024-10707?
No fix has been published for CVE-2024-10707 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-10707 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-10707 exists.
Other vulnerabilities in gaizhenbiao/chuanhuchatgpt
- CVE-2024-3234 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-5982 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-6255 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-8613 Improper Access Control in gaizhenbiao/chuanhuchatgpt
- CVE-2024-9216 Authentication Bypass in gaizhenbiao/ChuanhuChatGPT
Sources
Also known as GHSA-grjq-mg5m-r4jj, PYSEC-2025-93.