CVE-2024-0964
Gradio vulnerability analysis and mitigation

Overview

A local file include vulnerability (CVE-2024-0964) was discovered in Gradio that could be remotely triggered through a vulnerable user-supplied JSON value in an API request. The vulnerability was disclosed on February 5, 2024, affecting the Gradio Python package (NVD, CVE).

Technical details

The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - 'Path Traversal'). According to the National Vulnerability Database, it received a CVSS v3.1 base score of 9.4 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L, while huntr.dev assessed it with a CVSS v3.0 score of 7.5 (High) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability allows remote attackers to include local files through the API request mechanism, potentially leading to unauthorized access to sensitive files on the system running Gradio. The high CVSS scores indicate significant potential impact on confidentiality and integrity of the affected system (NVD).

Mitigation and workarounds

A patch has been released to address this vulnerability, which can be found in the Gradio repository. Users are advised to update to the patched version of Gradio (Github Patch).

Additional resources


SourceThis report was generated using AI

Related Gradio vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48889HIGH7.5
  • GradioGradio
  • gradio
NoYesMay 30, 2025
CVE-2024-8966HIGH7.5
  • GradioGradio
  • gradio
NoNoMar 20, 2025
CVE-2025-5320MEDIUM6.3
  • GradioGradio
  • gradio
NoNoMay 29, 2025
CVE-2024-8021MEDIUM6.1
  • GradioGradio
  • gradio
NoNoMar 20, 2025
CVE-2024-12217MEDIUM5.3
  • GradioGradio
  • gradio
NoNoMar 20, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management