CVE-2024-0964 json
LFI in Gradio
published 2024-02-05 2 y ago modified 2026-06-17 4 mo ago also GHSA-f3h9-8phc-6gvh , PYSEC-2024-261 , EUVD-2024-0623
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.95% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| OSV | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gradio | <4.9.0 |
4.9.0 |
Affected products
- gradio-app gradio-app/gradio
- gradio_app gradio_app_gradio
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70
web, patch
-
huntr.com
/bounties/25e25501-5918-429c-8541-88832dfd3741
web, exploit, third-party-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2024-0964
advisory
-
github.com
/gradio-app/gradio
package
-
github.com
/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-261.yaml
web
-
github.com
/advisories/GHSA-f3h9-8phc-6gvh
advisory
Sources
- CVE List CVE-2024-0964
- GitHub Advisory GHSA-f3h9-8phc-6gvh
- NVD CVE-2024-0964
- OSV PYSEC-2024-261
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.