GoWorst: Critical17 advisories
github.com/labstack/echo/v4: known vulnerabilities
github.com/labstack/echo/v4 has 17 reviewed security advisories in the GitHub Advisory Database — 2 critical, 5 high, 10 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/v4 versions running across your servers, containers and images, and ranks what to patch first.
How to fix github.com/labstack/echo/v4
Upgrade github.com/labstack/echo/v4 to a release at or above the fixed version shown for each advisory below. For Go:
go get github.com/labstack/echo/v4@4.15.2 && 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 (17)
Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto
Moderate 4.7 CWE-601
— Affected: before 4.15.2. Fixed in 4.15.2. 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: 4.0.0 through 4.16.2. No fixed release is listed. 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 4.16.0. Fixed in 4.16.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 4.16.0. Fixed in 4.16.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 4.16.0. Fixed in 4.16.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: 4.0.0 through 4.16.2. No fixed release is listed. 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 4.16.0. Fixed in 4.16.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: before 4.16.0. Fixed in 4.16.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 4.16.0. Fixed in 4.16.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 4.15.3. Fixed in 4.15.3. 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 4.15.0 up to 4.16.1. Fixed in 4.16.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 4.0.0 up to 4.16.1. Fixed in 4.16.1. Published 2026-10-23. GHSA-cxf3-9h37-7rr8 · CVE-2026-118264
Echo: BodyDump captures request and response bodies without size limits in v4
High CWE-400 CWE-770
— Affected: from 4.0.0 up to 4.16.1. Fixed in 4.16.1. Published 2026-10-23. GHSA-f48p-c9v4-h7xv · CVE-2026-118260
Echo: Decompress permits unbounded gzip expansion in v4
High CWE-400 CWE-409
— Affected: from 4.0.0 up to 4.16.1. Fixed in 4.16.1. Published 2026-10-23. GHSA-h7wr-284f-5qvc · CVE-2026-118261
Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files
High 7.5 CWE-22
— Affected: before 4.15.3. Fixed in 4.15.3. Published 2026-06-26. GHSA-vfp3-v2gw-7wfq · CVE-2026-55677
Echo vulnerable to directory traversal
Moderate 5.3 CWE-22
— Affected: before 4.2.0. Fixed in 4.2.0. Published 2022-12-07. GHSA-j453-hm5x-c46w · CVE-2020-36565
Labstack Echo Open Redirect vulnerability
Critical 9.6 CWE-601
— Affected: before 4.9.0. Fixed in 4.9.0. Published 2022-09-28. GHSA-crxj-hrmp-4rwf · CVE-2022-40083
Find github.com/labstack/echo/v4 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.