Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| gradio-app | gradio | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Gradio-app | Gradio |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-j36p-7w88-g82j | Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.690% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gradio Project
Gradio Project gradio |
|
| CPEs | cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Gradio Project
Gradio Project gradio |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gradio-app
Gradio-app gradio |
|
| Vendors & Products |
Gradio-app
Gradio-app gradio |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Gradio before 6.16.0 contain a path traversal vulnerability in the FileExplorer component's preprocess() method that allows unauthenticated attackers to escape the configured root directory by supplying path segments containing directory traversal sequences or absolute paths. Attackers can provide crafted path segments that cause os.path.join to discard the root_dir prefix entirely, resulting in arbitrary file read or exposure of sensitive files outside the intended directory. | |
| Title | Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess() | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|