CISA list

● Go module family

github.com/labstack/echo/v4

Github.com/labstack/echo/v4 has 20 security advisories.

As of , github.com/labstack/echo/v4 has 20 security advisories.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
PackageIf you runUpgrade toAdvisories
github.com/labstack/echoUp to and including 3.3.10No fixed version listed1 advisory
github.com/labstack/echo/v4All versionsNone in this row; 15 of its 17 advisories name a fixed version17 advisories
github.com/labstack/echo/v5Before 5.4.15.4.116 advisories

1 of the 3 packages has no row that names a version to upgrade to, because an advisory lists its newer releases as affected and names no fix for them. 15 of its 17 advisories name a fixed version that this page reads; the list of advisories below gives them.

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-118657GHSA-2ffq-g2xg-c22p, GO-2026-6879Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme HeadersModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.04.16.0, 5.4.0
CVE-2026-118654GHSA-3pmx-cf9f-34xr, GO-2026-6881Echo static file middleware route protection bypass via encoded dot-dot traversalModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.04.16.0, 5.4.0
CVE-2026-118655GHSA-xwq5-6cqp-vx96, GO-2026-6885Echo has a Static Middleware Double-Unescape Path TraversalModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: Before 4.15.3 / github.com/labstack/echo/v5: Before 5.2.04.15.3, 5.2.0
CVE-2026-118656GHSA-v753-g4cw-jm48, GO-2026-6883Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURIModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.04.16.0, 5.4.0
CVE-2026-118658GHSA-23wf-92cp-8pcj, GO-2026-6878Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-ProtoModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: Before 4.15.2 / github.com/labstack/echo/v5: Before 5.1.14.15.2, 5.1.1
CVE-2026-118650GHSA-375p-5qhx-8wq4, GO-2026-6873Echo's middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served pathHigh severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.04.16.0, 5.4.0
CVE-2026-118652GHSA-h9g5-28mm-hx3g, GO-2026-6876Echo vulnerable to Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlobModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.04.16.0, 5.4.0
CVE-2026-118653GHSA-246p-cpwv-v3jq, GO-2026-6872Echo has Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default ConfigurationModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: From 4.0.0 (no end named) / github.com/labstack/echo/v5: Before 5.1.05.1.0
CVE-2026-118266GHSA-r7w9-592q-9vg4, GO-2026-6877Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe MethodModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: From 5.0.0 before 5.4.04.16.0, 5.4.0
CVE-2026-118651GHSA-99jh-6h7p-pp36, GO-2026-6875Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by DefaultModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: From 4.0.0 (no end named) / github.com/labstack/echo/v5: Before 5.4.05.4.0
CVE-2026-118265GHSA-h53f-rm2w-w7rg, GO-2026-6841Echo: X-Real-IP extractor trusts the header value instead of the sending peerModerate severity. github.com/labstack/echo/v5github.com/labstack/echo/v5: From 5.0.0 before 5.4.15.4.1
CVE-2026-118262GHSA-9969-6676-49h5, GO-2026-6838Echo: WebSocket proxy can retain connections and handlers after client disconnectHigh severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: From 4.15.0 before 4.16.1 / github.com/labstack/echo/v5: From 5.0.0 before 5.4.14.16.1, 5.4.1
CVE-2026-118261GHSA-h7wr-284f-5qvc, GO-2026-6842Echo: Decompress permits unbounded gzip expansion in v4High severity. github.com/labstack/echo/v4github.com/labstack/echo/v4: From 4.0.0 before 4.16.14.16.1
CVE-2026-118264GHSA-cxf3-9h37-7rr8, GO-2026-6839Echo: Rejected WebSocket upgrades can bypass Echo route-level access controlsCritical severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo/v4: From 4.0.0 before 4.16.1 / github.com/labstack/echo/v5: From 5.0.0 before 5.4.14.16.1, 5.4.1
CVE-2026-118263GHSA-x9ff-22gv-65f4, GO-2026-6844Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requestsModerate severity. github.com/labstack/echo/v5github.com/labstack/echo/v5: From 5.0.0 before 5.4.15.4.1
CVE-2026-118260GHSA-f48p-c9v4-h7xv, GO-2026-6840Echo: BodyDump captures request and response bodies without size limits in v4High severity. github.com/labstack/echo/v4github.com/labstack/echo/v4: From 4.0.0 before 4.16.14.16.1
CVE-2026-55677GHSA-vfp3-v2gw-7wfq, GO-2026-6293Echo: Encoded slash (%2F) bypasses route-level protection and exposes static filesHigh severity. github.com/labstack/echo, github.com/labstack/echo/v4, github.com/labstack/echo/v5github.com/labstack/echo: Up to and including 3.3.10 / github.com/labstack/echo/v4: Before 4.15.3 / github.com/labstack/echo/v5: Before 5.2.04.15.3, 5.2.0
CVE-2026-25766GHSA-pgvm-wxw2-hrv9, GO-2026-4502Echo has a Windows path traversal via backslash in middleware.Static default filesystemModerate severity. github.com/labstack/echo/v5github.com/labstack/echo/v5: From 5.0.0 before 5.0.35.0.3
CVE-2022-40083GHSA-crxj-hrmp-4rwf, GO-2022-1031Labstack Echo Open Redirect vulnerabilityCritical severity. github.com/labstack/echo/v4github.com/labstack/echo/v4: Before 4.9.04.9.0
CVE-2020-36565GHSA-j453-hm5x-c46w, GO-2021-0051Echo vulnerable to directory traversalModerate severity. github.com/labstack/echo/v4github.com/labstack/echo/v4: Before 4.2.04.2.0

Packages on this page

These 3 packages share most of their advisories, so one page covers them. The table has rows for each package apart, because a release of one is not a release of another.

  • github.com/labstack/echo
  • github.com/labstack/echo/v4
  • github.com/labstack/echo/v5

Other Go modules

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the Go vulnerability database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0