# CVE-2024-0964: LFI in Gradio

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-05T22:53:44.859Z
- Modified: 2026-06-17T06:54:39.790Z
- Also known as: GHSA-f3h9-8phc-6gvh, PYSEC-2024-261
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.

(As written by CVE List.)

## Affected

- gradio-app gradio-app/gradio: from unspecified before x
- gradio_app gradio_app_gradio: up to *
- gradio (PyPI): before 4.9.0
- gradio_project gradio: no versions given

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- PyPA Advisory Database: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741> (exploit, evidence, third-party-advisory, web)
- <https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-0964> (advisory)
- <https://github.com/gradio-app/gradio> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-261.yaml> (web)
- <https://github.com/advisories/GHSA-f3h9-8phc-6gvh> (advisory)

## Sources

- CVE List: [CVE-2024-0964](https://www.cve.org/CVERecord?id=CVE-2024-0964), CVE Terms of Use, modified 2024-08-26
- GitHub Advisory Database: [GHSA-f3h9-8phc-6gvh](https://github.com/advisories/GHSA-f3h9-8phc-6gvh), CC-BY-4.0, modified 2026-05-19
- NVD: [CVE-2024-0964](https://nvd.nist.gov/vuln/detail/CVE-2024-0964), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-261](https://osv.dev/vulnerability/PYSEC-2024-261), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-0964 · Whole record: https://cve.day/CVE-2024-0964.json · Rebuilt by cve.day 2026-11-25T22:58:36.591Z
