CVE-2026-49119 漏洞深度分析

漏洞概述

CVE 编号: CVE-2026-49119
CVSS 评分: 8.7(HIGH)
CVSS 向量: 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/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
CWE 分类: CWE-22
漏洞状态: Analyzed
发布时间: 2026-07-01T19:16:52.463
最后更新: 2026-07-14T22:17:06.273

漏洞描述

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.

影响分析

此漏洞的具体影响取决于实际利用场景。"

修复建议

  1. 及时关注厂商发布的安全更新和补丁
  2. 升级受影响组件到最新版本
  3. 如无法立即升级,参考厂商提供的临时缓解措施
  4. 加强网络访问控制和监控

参考链接

  1. https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004
  2. https://github.com/gradio-app/gradio/pull/13437
  3. https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0
  4. https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess