CVE-2024-10707 Local File Inclusion in gaizhenbiao/chuanhuchatgpt

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
chuanhuchatgpt PyPIAll versions to 2024-09-25None

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.

Sources

Also known as GHSA-grjq-mg5m-r4jj, PYSEC-2025-93.

Is CVE-2024-10707 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free