Skip to content

huntr

gradio-app/gradio

Every publicly disclosed report for gradio-app/gradio and what kind of bugs they were.

disclosed reports
14
most reported class
Path traversal
bug classes found
6
first disclosure
2023
Find gradio-app/gradio on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what gradio-app/gradio chose to make public.

DoS

Gradio DOS in multipart boundry while uploading the file

A vulnerability in Gradio's file upload handling allows an attacker to append many characters to a multipart boundary, causing the system to process each character and issue warnings. This can render Gradio inaccessible for extended periods, disrupting services.

gradio-app/gradio

High
Path traversal

Gradio Path Traversal vulnerability

The blocked_path feature in Gradio fails to block access to files when the path uses NTFS Alternate Data Streams syntax, so a user can read files that should be restricted. An attacker could use this to read blocked files on Windows.

gradio-app/gradio

Medium
Path traversal

Gradio allows users to access arbitrary files

Gradio applications with a public link allowed users to access arbitrary files on the hosting machine by intercepting and modifying network requests. An attacker could read files outside the intended application directory.

gradio-app/gradio

Critical
Path traversal

Local file inclusion in gradio

The JSON component in gradio-app/gradio version 4.25 improperly validates user input in its postprocess function, allowing a user-controlled string to be parsed as JSON. If the parsed object contains a path key, the specified file is moved to a temporary directory and can later be retrieved via the /file=.. endpoint, enabling an attacker to read files on the remote system.

gradio-app/gradio

High
SSRF

Server-Side Request Forgery in gradio

The `/queue/join` endpoint and `save_url_to_cache` function in gradio 4.21.0 accept a user-supplied `path` value and use it to make an HTTP request without sufficient validation. An attacker could send crafted requests to reach the local network or the AWS metadata endpoint, potentially compromising internal servers.

gradio-app/gradio

High
Path traversal

gradio vulnerable to Path Traversal

The `/component_server` endpoint in Gradio allows an attacker to invoke any method on a `Component` class with controlled arguments. By abusing the `move_resource_to_block_cache()` method, an attacker can copy arbitrary files to a temporary directory and retrieve them, enabling local file read.

gradio-app/gradio

High
SSRF

gradio Server-Side Request Forgery vulnerability

The gradio application accepted a user-supplied file parameter in a GET request and fetched it server-side, letting an attacker probe internal network ports by observing whether the response contained a Location header or a 'File not allowed' error.

gradio-app/gradio

Medium
SSRF

gradio Server-Side Request Forgery vulnerability

The gradio application's /proxy route fails to properly validate user-supplied URLs, and an attacker can add arbitrary URLs to the allowed proxy list via the X-Direct-Url header. This allows the attacker to proxy requests to internal endpoints within the Hugging Face space.

gradio-app/gradio

High
Crypto

Gradio apps vulnerable to timing attacks to guess password

Gradio apps with password protection were vulnerable to timing attacks because string comparisons terminated early on mismatch, allowing attackers to guess passwords character by character. Without rate limiting, an attacker could brute-force millions of guesses to find the correct username and password.

gradio-app/gradio

Medium