CVE-2026-49119Gradio Project Gradio
High 8.7 No auth needed
Follow: this CVE · Gradio Project · Gradio Project Gradio We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Jul 1, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Gradio.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gradio |
< 6.16.0 |
6.16.0 |
pip install "gradio>=6.16.0" |
| PyPI | gradio |
< 6.16.0 |
6.16.0 |
pip install "gradio>=6.16.0" |
Per OSV / GitHub Advisories (GHSA-j36p-7w88-g82j, PYSEC-2026-2179). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gradio_project | gradio | < 6.16.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Product Release Notes
- www.vulncheck.com Patch Release Notes Third Party Advisory