GoWorst: Critical16 advisories
github.com/labstack/echo/v5: known vulnerabilities
github.com/labstack/echo/v5 has 16 reviewed security advisories in the GitHub Advisory Database — 1 critical, 3 high, 12 moderate. The most recent was published 2026-10-28. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/labstack/echo/v5 versions running across your servers, containers and images, and ranks what to patch first.
How to fix github.com/labstack/echo/v5
Upgrade github.com/labstack/echo/v5 to a release at or above the fixed version shown for each advisory below. For Go:
go get github.com/labstack/echo/v5@5.1.1 && go mod tidy (check govulncheck)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (16)
Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto
Moderate 4.7 CWE-601
— Affected: before 5.1.1. Fixed in 5.1.1. Published 2026-10-28. GHSA-23wf-92cp-8pcj · CVE-2026-118658
Echo has Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
Moderate 5.3 CWE-290
— Affected: before 5.1.0. Fixed in 5.1.0. Published 2026-10-28. GHSA-246p-cpwv-v3jq · CVE-2026-118653
Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers
Moderate 5.9 CWE-346
— Affected: before 5.4.0. Fixed in 5.4.0. Published 2026-10-28. GHSA-2ffq-g2xg-c22p · CVE-2026-118657
Echo's middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path
High 7.5 CWE-177 CWE-863
— Affected: before 5.4.0. Fixed in 5.4.0. Published 2026-10-28. GHSA-375p-5qhx-8wq4 · CVE-2026-118650
Echo static file middleware route protection bypass via encoded dot-dot traversal
Moderate 5.9 CWE-22
— Affected: before 5.4.0. Fixed in 5.4.0. Published 2026-10-28. GHSA-3pmx-cf9f-34xr · CVE-2026-118654
Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default
Moderate 5.3 CWE-346
— Affected: before 5.4.0. Fixed in 5.4.0. Published 2026-10-28. GHSA-99jh-6h7p-pp36 · CVE-2026-118651
Echo vulnerable to Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob
Moderate 6.1 CWE-79
— Affected: before 5.4.0. Fixed in 5.4.0. Published 2026-10-28. GHSA-h9g5-28mm-hx3g · CVE-2026-118652
Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method
Moderate 5.3 CWE-352
— Affected: from 5.0.0 up to 5.4.0. Fixed in 5.4.0. Published 2026-10-28. GHSA-r7w9-592q-9vg4 · CVE-2026-118266
Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI
Moderate 6.1 CWE-601
— Affected: before 5.4.0. Fixed in 5.4.0. Published 2026-10-28. GHSA-v753-g4cw-jm48 · CVE-2026-118656
Echo has a Static Middleware Double-Unescape Path Traversal
Moderate 5.9 CWE-174
— Affected: before 5.2.0. Fixed in 5.2.0. Published 2026-10-28. GHSA-xwq5-6cqp-vx96 · CVE-2026-118655
Echo: WebSocket proxy can retain connections and handlers after client disconnect
High CWE-772
— Affected: from 5.0.0 up to 5.4.1. Fixed in 5.4.1. Published 2026-10-23. GHSA-9969-6676-49h5 · CVE-2026-118262
Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls
Critical CWE-444 CWE-863
— Affected: from 5.0.0 up to 5.4.1. Fixed in 5.4.1. Published 2026-10-23. GHSA-cxf3-9h37-7rr8 · CVE-2026-118264
Echo: X-Real-IP extractor trusts the header value instead of the sending peer
Moderate 5.3 CWE-348
— Affected: from 5.0.0 up to 5.4.1. Fixed in 5.4.1. Published 2026-10-23. GHSA-h53f-rm2w-w7rg · CVE-2026-118265
Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests
Moderate CWE-252
— Affected: from 5.0.0 up to 5.4.1. Fixed in 5.4.1. Published 2026-10-23. GHSA-x9ff-22gv-65f4 · CVE-2026-118263
Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files
High 7.5 CWE-22
— Affected: before 5.2.0. Fixed in 5.2.0. Published 2026-06-26. GHSA-vfp3-v2gw-7wfq · CVE-2026-55677
Echo has a Windows path traversal via backslash in middleware.Static default filesystem
Moderate 5.3 CWE-22
— Affected: from 5.0.0 up to 5.0.3. Fixed in 5.0.3. Published 2026-02-19. GHSA-pgvm-wxw2-hrv9 · CVE-2026-25766
Find github.com/labstack/echo/v5 across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.