SecurityContext

CVE-2026-49119: Gradio - Path Traversal

  • Cve: CVE-2026-49119
  • Name: Gradio - Path Traversal
  • 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.
  • Impact: Unauthenticated attackers can read arbitrary files outside the intended directory, potentially exposing sensitive information.
  • Remediation: Update to version 6.16.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0069
  • Epss percentile: 0.53747
  • Assignee: [email protected]
  • Published at: 2026-07-01T19:16:52Z
  • Age in days: 146
  • Modified at: 2026-10-25T16:10:00Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49119
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004Patch
https://github.com/gradio-app/gradio/pull/13437Issue Tracking, Patch
https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocessPatch, Release Notes, Third Party Advisory
https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0Product, Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
gradio_project:gradio< 6.16.0nonvd/v1/products/gradio_project/gradio

Projects

RepositoryLink kindsIndexedUrl
gradio-app/gradiocommit, fix, package, pull, releasesyes/v1/repositories/gradio-app/gradio

Index

  • Repositories: 562
  • Repositories high signal: 338
  • Packages: 1

Exploitation

  • Remote: yes
  • Exposed hosts: 2932
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports