CVE-2026-49119
Gradio before 6.16.0 contain a path traversal vulnerability in the …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004
- github.com/gradio-app/gradio/pull/13437
- github.com/gradio-app/gradio/releases/tag/gradio%406.16.0
- www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess
- nvd.nist.gov/vuln/detail/CVE-2026-49119
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2026-2179.yaml
- github.com/advisories/GHSA-j36p-7w88-g82j
- nvd.nist.gov/vuln/detail/CVE-2026-49119
- cve.org/CVERecord?id=CVE-2026-49119
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.