● 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
| Package | If you run | Upgrade to | Advisories |
|---|---|---|---|
| github.com/labstack/echo | Up to and including 3.3.10 | No fixed version listed | 1 advisory |
| github.com/labstack/echo/v4 | All versions | None in this row; 15 of its 17 advisories name a fixed version | 17 advisories |
| github.com/labstack/echo/v5 | Before 5.4.1 | 5.4.1 | 16 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
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-118657GHSA-2ffq-g2xg-c22p, GO-2026-6879 | Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme HeadersModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.0 | 4.16.0, 5.4.0 | |
| CVE-2026-118654GHSA-3pmx-cf9f-34xr, GO-2026-6881 | Echo static file middleware route protection bypass via encoded dot-dot traversalModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.0 | 4.16.0, 5.4.0 | |
| CVE-2026-118655GHSA-xwq5-6cqp-vx96, GO-2026-6885 | Echo has a Static Middleware Double-Unescape Path TraversalModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: Before 4.15.3 / github.com/labstack/echo/v5: Before 5.2.0 | 4.15.3, 5.2.0 | |
| CVE-2026-118656GHSA-v753-g4cw-jm48, GO-2026-6883 | Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURIModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.0 | 4.16.0, 5.4.0 | |
| CVE-2026-118658GHSA-23wf-92cp-8pcj, GO-2026-6878 | Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-ProtoModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: Before 4.15.2 / github.com/labstack/echo/v5: Before 5.1.1 | 4.15.2, 5.1.1 | |
| CVE-2026-118650GHSA-375p-5qhx-8wq4, GO-2026-6873 | Echo'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/v5 | github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.0 | 4.16.0, 5.4.0 | |
| CVE-2026-118652GHSA-h9g5-28mm-hx3g, GO-2026-6876 | Echo 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/v5 | github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: Before 5.4.0 | 4.16.0, 5.4.0 | |
| CVE-2026-118653GHSA-246p-cpwv-v3jq, GO-2026-6872 | Echo has Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default ConfigurationModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: From 4.0.0 (no end named) / github.com/labstack/echo/v5: Before 5.1.0 | 5.1.0 | |
| CVE-2026-118266GHSA-r7w9-592q-9vg4, GO-2026-6877 | Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe MethodModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: Before 4.16.0 / github.com/labstack/echo/v5: From 5.0.0 before 5.4.0 | 4.16.0, 5.4.0 | |
| CVE-2026-118651GHSA-99jh-6h7p-pp36, GO-2026-6875 | Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by DefaultModerate severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: From 4.0.0 (no end named) / github.com/labstack/echo/v5: Before 5.4.0 | 5.4.0 | |
| CVE-2026-118265GHSA-h53f-rm2w-w7rg, GO-2026-6841 | Echo: X-Real-IP extractor trusts the header value instead of the sending peerModerate severity. github.com/labstack/echo/v5 | github.com/labstack/echo/v5: From 5.0.0 before 5.4.1 | 5.4.1 | |
| CVE-2026-118262GHSA-9969-6676-49h5, GO-2026-6838 | Echo: WebSocket proxy can retain connections and handlers after client disconnectHigh severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: From 4.15.0 before 4.16.1 / github.com/labstack/echo/v5: From 5.0.0 before 5.4.1 | 4.16.1, 5.4.1 | |
| CVE-2026-118261GHSA-h7wr-284f-5qvc, GO-2026-6842 | Echo: Decompress permits unbounded gzip expansion in v4High severity. github.com/labstack/echo/v4 | github.com/labstack/echo/v4: From 4.0.0 before 4.16.1 | 4.16.1 | |
| CVE-2026-118264GHSA-cxf3-9h37-7rr8, GO-2026-6839 | Echo: Rejected WebSocket upgrades can bypass Echo route-level access controlsCritical severity. github.com/labstack/echo/v4, github.com/labstack/echo/v5 | github.com/labstack/echo/v4: From 4.0.0 before 4.16.1 / github.com/labstack/echo/v5: From 5.0.0 before 5.4.1 | 4.16.1, 5.4.1 | |
| CVE-2026-118263GHSA-x9ff-22gv-65f4, GO-2026-6844 | Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requestsModerate severity. github.com/labstack/echo/v5 | github.com/labstack/echo/v5: From 5.0.0 before 5.4.1 | 5.4.1 | |
| CVE-2026-118260GHSA-f48p-c9v4-h7xv, GO-2026-6840 | Echo: BodyDump captures request and response bodies without size limits in v4High severity. github.com/labstack/echo/v4 | github.com/labstack/echo/v4: From 4.0.0 before 4.16.1 | 4.16.1 | |
| CVE-2026-55677GHSA-vfp3-v2gw-7wfq, GO-2026-6293 | Echo: 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/v5 | github.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.0 | 4.15.3, 5.2.0 | |
| CVE-2026-25766GHSA-pgvm-wxw2-hrv9, GO-2026-4502 | Echo has a Windows path traversal via backslash in middleware.Static default filesystemModerate severity. github.com/labstack/echo/v5 | github.com/labstack/echo/v5: From 5.0.0 before 5.0.3 | 5.0.3 | |
| CVE-2022-40083GHSA-crxj-hrmp-4rwf, GO-2022-1031 | Labstack Echo Open Redirect vulnerabilityCritical severity. github.com/labstack/echo/v4 | github.com/labstack/echo/v4: Before 4.9.0 | 4.9.0 | |
| CVE-2020-36565GHSA-j453-hm5x-c46w, GO-2021-0051 | Echo vulnerable to directory traversalModerate severity. github.com/labstack/echo/v4 | github.com/labstack/echo/v4: Before 4.2.0 | 4.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
- github.com/casdoor/casdoor20 advisories
- github.com/go-gitea/gitea20 advisories
- github.com/OliveTin/OliveTin20 advisories
- go.etcd.io/etcd/v320 advisories