CVE Explorer
CVE-2026-25766
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(...)
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"echo","vendor":"labstack","versions":[{"status":"affected","version":">= 5.0.0, < 5.0.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5dcb430d53f773a89871545bc53107a5aa949c80242ca4f089841de77b0289d9 · sha256:42fe5681d70a0532… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5dcb430d53f773a89871545bc53107a5aa949c80242ca4f089841de77b0289d9 · sha256:42fe5681d70a0532… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5dcb430d53f773a89871545bc53107a5aa949c80242ca4f089841de77b0289d9 · sha256:42fe5681d70a0532… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/labstack/echo/commit/b1d443086ea27cf51345ec72a71e9b7e9d9ce5f1","tags":["x_refsource_MISC"],"url":"https://github.com/labstack/echo/commit/b1d443086ea27cf51345ec72a71e9b7e9d9ce5f1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5dcb430d53f773a89871545bc53107a5aa949c80242ca4f089841de77b0289d9 · sha256:42fe5681d70a0532… · /containers/cna/references/2
{"name":"https://github.com/labstack/echo/pull/2891","tags":["x_refsource_MISC"],"url":"https://github.com/labstack/echo/pull/2891"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5dcb430d53f773a89871545bc53107a5aa949c80242ca4f089841de77b0289d9 · sha256:42fe5681d70a0532… · /containers/cna/references/1
{"name":"https://github.com/labstack/echo/security/advisories/GHSA-pgvm-wxw2-hrv9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/labstack/echo/security/advisories/GHSA-pgvm-wxw2-hrv9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5dcb430d53f773a89871545bc53107a5aa949c80242ca4f089841de77b0289d9 · sha256:42fe5681d70a0532… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.