{"cve":"CVE-2026-49119","nvd":{"published":"2026-07-01T19:16:52.463","modified":"2026-10-25T16:10:00.147","status":"Analyzed","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_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004","https://github.com/gradio-app/gradio/pull/13437","https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0","https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess"],"products":["gradio_project:gradio"],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-49119","score":0.0069,"percentile":0.52513,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-j36p-7w88-g82j","url":"https://osv.dev/vulnerability/GHSA-j36p-7w88-g82j","summary":" Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks","modified":"2026-10-02T18:55:51.878962367Z","packages":[{"ecosystem":"PyPI","name":"gradio","purl":"pkg:pypi/gradio","ranges":["<6.16.0"],"fixed":["6.16.0"]}]},{"id":"PYSEC-2026-2179","url":"https://osv.dev/vulnerability/PYSEC-2026-2179","summary":"","modified":"2026-10-15T14:45:05.448085092Z","packages":[{"ecosystem":"PyPI","name":"gradio","purl":"pkg:pypi/gradio","ranges":["<6.16.0"],"fixed":["6.16.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}