{"id":77493,"date":"2026-02-19T19:57:15","date_gmt":"2026-02-19T16:27:15","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-25766-echo-has-a-windows-path-traversal-via-backslash-in-middleware-static-default-filesystem\/"},"modified":"2026-02-19T19:57:15","modified_gmt":"2026-02-19T16:27:15","slug":"cve-2026-25766-echo-has-a-windows-path-traversal-via-backslash-in-middleware-static-default-filesystem","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-25766-echo-has-a-windows-path-traversal-via-backslash-in-middleware-static-default-filesystem\/","title":{"rendered":"CVE-2026-25766 &#8211; Echo has a Windows path traversal via backslash in middleware.Static default filesystem"},"content":{"rendered":"<p>CVE ID : CVE-2026-25766<\/p>\n<p>Published :  Feb. 19, 2026, 4:27 p.m. | 33\u00a0minutes ago<\/p>\n<p>Description : Echo is a Go web framework. In versions 5.0.0 through 5.0.2 on Windows, Echo\u2019s `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 &#8220; as a path separator, so `..` sequences remain in the cleaned path. The resulting path is then passed to `currentFS.Open(&#8230;)`. When the filesystem is left at the default (nil), Echo uses `defaultFS` which calls `os.Open` (`echo.go:792`). On Windows, `os.Open` treats &#8220; as a path separator and resolves `..`, allowing traversal outside the static root. Version 5.0.3 fixes the issue.<\/p>\n<p>Severity: 5.3 | MEDIUM<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-25766 Published : Feb. 19, 2026, 4:27 p.m. | 33\u00a0minutes ago Description : Echo is a Go web framework. In versions 5.0.0 through 5.0.2 on Windows, Echo\u2019s `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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77493","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77493"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77493\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}