CVE-2026-25766
中文标题:
(暂无数据)
英文标题:
Echo has a Windows path traversal via backslash in middleware.Static default filesystem
漏洞描述
中文描述:
(暂无数据)
英文描述:
Echo is a Go web framework. In versions 5.0.0 through 5.0.2 on Windows, Echo’s `middleware.Static` using the default filesystem allows path traversal via backslashes, enabling unauthenticated remote file read outside the static root. In `middleware/static.go`, the requested path is unescaped and normalized with `path.Clean` (URL semantics). `path.Clean` does not treat `\` as a path separator, so `..\` sequences remain in the cleaned path. The resulting path is then passed to `currentFS.Open(...)`. When the filesystem is left at the default (nil), Echo uses `defaultFS` which calls `os.Open` (`echo.go:792`). On Windows, `os.Open` treats `\` as a path separator and resolves `..\`, allowing traversal outside the static root. Version 5.0.3 fixes the issue.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| labstack | echo | >= 5.0.0, < 5.0.3 | - | - |
cpe:2.3:a:labstack:echo:>=_5.0.0,_<_5.0.3:*:*:*:*:*:*:*
|
| labstack | echo | * | - | - |
cpe:2.3:a:labstack:echo:*:*:*:*:*:go:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (cna)
MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2026-25766 |
2026-02-20 03:19:38 | 2026-02-19 22:00:03 |
| NVD | nvd_CVE-2026-25766 |
2026-02-20 02:00:04 | 2026-02-19 22:00:05 |
版本与语言
安全公告
变更历史
查看详细变更
- affected_products_count: 1 -> 2
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']