CVE-2024-4941: Local file inclusion in Gradio JSON component
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A local file inclusion flaw in Gradio permits unauthorized file retrieval via the JSON component endpoint. Vendor patches address the improper input validation issue.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- gradio
- incident date
- 6 Jun 2024
- first reported
- 6 Jun 2024
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2024-4941 · lfi · path_traversal
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2024-06-06CVE-2024-4941: Local file inclusion in gradioGitHub Advisory Database · github.com/advisories/GHSA-6v6g-j5fq-hpvw
- 2024-06-06CVE-2024-4941: A local file inclusion vulnerability exists in the JSON component of gradio-app/gradio version 4.25.NVD · nvd.nist.gov/vuln/detail/CVE-2024-4941
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2024-06-22CVE-2024-4940: Open redirect vulnerability in gradio2 Disclosedon AIInfra vuln2 src
- 2024-11-04CVE-2024-48052: Gradio Server Side Request Forgery Vulnerability2 Disclosedon AIInfra vuln2 src
- 2024-04-16Gradio Server-Side Request Forgery Vulnerability2 Disclosedon AIInfra vuln2 src
- 2024-04-16CVE-2024-1561: gradio vulnerable to Path Traversal2 Disclosedon AIInfra vuln2 src
- 2024-03-27CVE-2024-1540: Gradio Workflow Command Injection Vulnerability2 Disclosedon AIInfra vuln1 src
- 2024-03-27CVE-2024-2206: Gradio Server-Side Request Forgery vulnerability2 Disclosedon AIInfra vuln2 src