Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gradio Project | Gradio | < 6.16.0 |
Related Weaknesses (CWE)
References
- https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2dPatch
- https://github.com/gradio-app/gradio/pull/13437Issue TrackingPatch
- https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0ProductRelease Notes
- https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-prepPatchRelease NotesThird Party Advisory
FAQ
What is CVE-2026-49119?
CVE-2026-49119 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 supplyi...
How severe is CVE-2026-49119?
CVE-2026-49119 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49119?
Check the references section above for vendor advisories and patch information. Affected products include: Gradio Project Gradio.