CVE-2026-49119
JSON

8.7high

Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.69% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-j36p-7w88-g82jPYSEC-2026-2179

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.

Affected

Product or packageVersionsReported by
gradio-app gradiobefore 6.16.0CVE List
gradio (PyPI)before 6.16.0GitHub Advisory Database, PyPA Advisory Database
gradio_project gradiobefore 6.16.0NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Gradio anterior a la versión 6.16.0 contiene una vulnerabilidad de salto de ruta en el método preprocess() del componente FileExplorer que permite a atacantes no autenticados escapar del directorio raíz configurado al proporcionar segmentos de ruta que contienen secuencias de salto de directorio o rutas absolutas. Los atacantes pueden proporcionar segmentos de ruta manipulados que hacen que os.path.join descarte completamente el prefijo root_dir, lo que resulta en lectura arbitraria de archivos o la exposición de archivos sensibles fuera del directorio previsto.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49119 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-j36p-7w88-g82j changed 2026-10-02CC-BY-4.0
NVDCVE-2026-49119 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-2179 changed 2026-10-15CC-BY-4.0