Security Resilience

CVE-2024-1183

Open Redirect in Gradio Project Gradio 3.41.0 – 4.11.0

Public PoCOpen Redirect
Published
16 April 2024
Modified
29 July 2025
Patch / advisory
CVSS Score v3 6.5
Click a component to see what it means
Raw vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS Score 0.018 78th percentile
Risk Priority 74 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-1183 is a medium-severity Open Redirect (CWE-601) vulnerability in Gradio Project Gradio. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data Obfuscation (T1001); ranked in the top 22% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

An SSRF vulnerability tracked as CVE-2024-1183 affects the Gradio web interface library in the gradio-app/gradio repository. The flaw resides in handling of the file parameter on GET requests, where insufficient validation permits an attacker to cause the server to issue requests to arbitrary internal destinations and infer port status from response headers or error messages such as “File not allowed.”

An unauthenticated remote attacker can exploit the issue by crafting requests that target internal hosts and ports; successful responses containing a Location header reveal open services, while error responses indicate closed or filtered ports. This enables network reconnaissance inside environments where the Gradio application is deployed, potentially exposing backend infrastructure that would otherwise be inaccessible from the public internet.

Public references point to a fix committed in the Gradio repository (commit 2ad3d9e) that restricts the file parameter to prevent arbitrary internal requests; the associated huntr.dev report confirms the patch addresses the SSRF vector.

The vulnerability occurs in a library widely used for machine-learning demo interfaces. EPSS scores reached a peak of 0.6567 and remain at 0.5505, indicating sustained exploitation interest after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attackers to scan and identify open ports within an internal network. By manipulating the 'file' parameter in a GET request, an attacker can discern the status of internal…

more

ports based on the presence of a 'Location' header or a 'File not allowed' error in the response.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001 Data Obfuscation Command And Control
Adversaries may obfuscate command and control traffic to make it more difficult to detect.
T1003.001 LSASS Memory Credential Access
Adversaries may attempt to access credential material stored in the process memory of the Local Security Authority Subsystem Service (LSASS).
T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
T1014 Rootkit Stealth
Adversaries may use rootkits to hide the presence of programs, files, network connections, services, drivers, and other system components.
T1016.002 Wi-Fi Discovery Discovery
Adversaries may search for information about Wi-Fi networks, such as network names and passwords, on compromised systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-4940Same product: Gradio Project Gradio
CVE-2024-8021Same product: Gradio Project Gradio
CVE-2026-28415Same product: Gradio Project Gradio
CVE-2024-48052Same product: Gradio Project Gradio
CVE-2024-0964Same product: Gradio Project Gradio
CVE-2026-49119Same product: Gradio Project Gradio
CVE-2023-41626Same product: Gradio Project Gradio
CVE-2024-34510Same product: Gradio Project Gradio
CVE-2023-6572Same product: Gradio Project Gradio
CVE-2024-47867Same product: Gradio Project Gradio

Affected Assets

gradio project
gradio
3.41.0 — 4.11.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V3.7.2

Mitigating Controls (NIST 800-53 r5) AI

Input validation directly checks and rejects untrusted redirect targets before they are used in a response.

Information flow enforcement can restrict redirects to only approved/trusted destinations, stopping untrusted user-supplied URLs from being followed.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 partial match
blocks

Secure SDLC practices directly require input validation and untrusted-redirect controls that prevent CWE-601.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References