{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-05-11T07:15:44.926","vulnerabilities":[{"cve":{"id":"CVE-2026-25766","sourceIdentifier":"security-advisories@github.com","published":"2026-02-19T16:27:15.497","lastModified":"2026-02-23T20:17:51.353","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Echo es un marco web de Go. En las versiones 5.0.0 a 5.0.2 en Windows, el `middleware.Static` de Echo que utiliza el sistema de archivos predeterminado permite recorrer rutas mediante barras invertidas, lo que permite la lectura de archivos remotos no autenticados fuera de la raíz estática. En `middleware/static.go`, la ruta solicitada no se escapa y se normaliza con `path.Clean` (semántica de URL). `path.Clean` no trata `\\` como un separador de ruta, por lo que las secuencias `..\\` permanecen en la ruta limpia. La ruta resultante se pasa entonces a `currentFS.Open(...)`. Cuando el sistema de archivos se deja en el valor predeterminado (nil), Echo utiliza `defaultFS`, que llama a `os.Open` (`echo.go:792`). En Windows, `os.Open` trata `\\` como un separador de ruta y resuelve `..\\`, lo que permite el recorrido fuera de la raíz estática. La versión 5.0.3 corrige el problema."}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":1.4}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Primary","description":[{"lang":"en","value":"CWE-22"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:labstack:echo:*:*:*:*:*:go:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.0.3","matchCriteriaId":"27FD7D9D-DB8A-4CC1-8024-72E6C1865D46"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*","matchCriteriaId":"A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}],"references":[{"url":"https://github.com/labstack/echo/commit/b1d443086ea27cf51345ec72a71e9b7e9d9ce5f1","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/labstack/echo/pull/2891","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/labstack/echo/security/advisories/GHSA-pgvm-wxw2-hrv9","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]}]}}]}