CVE-2026-118654: falha de média gravidade em labstack echo
Echo static file middleware route protection bypass via encoded dot-dot traversal
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
13Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 5.9epss 0.5%
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also reachable through a static filesystem mount after path normalization. This vulnerability is the result of an incomplete fix for CVE-2026-55677. This issue is fixed in 4.16.0 and 5.4.0.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Produtos afetados
labstack · echoCVEs relacionadas — labstack echo
No mesmo produto, das mais perigosas para as menos.
CVE-2026-55677HIGHEcho: Encoded slash (%2F) bypasses route-level protection and exposes static filesEPSS 0.7%CVE-2026-118653MEDIUMEcho: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default ConfigurationEPSS 0.5%CVE-2026-118650HIGHEcho: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served pathEPSS 0.5%CVE-2026-118261HIGHEcho: Decompress permits unbounded gzip expansion in v4EPSS 0.5%CVE-2026-118264CRITICALEcho: Rejected WebSocket upgrades can bypass Echo route-level access controlsEPSS 0.4%CVE-2026-25766MEDIUMEcho has a Windows path traversal via backslash in middleware.Static default filesystemEPSS 0.4%
Referências
https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5afhttps://github.com/labstack/echo/releases/tag/v4.16.0https://github.com/labstack/echo/releases/tag/v5.4.0https://github.com/labstack/echo/security/advisories/GHSA-3pmx-cf9f-34xr