Is github.com/labstack/echo/v5 5.1 vulnerable?

Go · 2 releases from 5.1.0 to 5.1.1 · latest github.com/labstack/echo/v5 is 5.4.6 · checked 18 Nov 2026

Yes: 26 known advisories

Yes. github.com/labstack/echo/v5 5.1.1, the last 5.1 release, is affected by 26 known security advisories (1 critical, 3 high, 9 medium, 13 low), including CVE-2026-118264, CVE-2026-118650, CVE-2026-118262. 2 more affect earlier 5.1.x releases. Upgrade to 5.4.1 or later to fix all of them.

Upgrade with:go get github.com/labstack/echo/v5@v5.4.1

Is your project on an affected github.com/labstack/echo/v5?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting github.com/labstack/echo/v5 5.1.1

  • LowCVE-2026-118650GO-2026-68735 Nov 2026

    URL-encoded path bypasses route/group middleware guarding a statically-served path in github.com/labstack/echo

    Affected
    >=5.0.0 <5.4.0
    Fixed in
    5.4.0
  • LowCVE-2026-118651GO-2026-68755 Nov 2026

    Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default in github.com/labstack/echo

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • LowCVE-2026-118652GO-2026-68765 Nov 2026

    Cross-Site Scripting (XSS) via unsanitized JSONP callback in github.com/labstack/echo

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • LowCVE-2026-118266GO-2026-68775 Nov 2026

    Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method in github.com/labstack/echo

    Affected
    >=5.0.0 <5.4.0
    Fixed in
    5.4.0
  • LowCVE-2026-118657GO-2026-68795 Nov 2026

    Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers in github.com/labstack/echo

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • LowCVE-2026-118654GO-2026-68815 Nov 2026

    Echo static file middleware route protection bypass via encoded dot-dot traversal in github.com/labstack/echo

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • LowCVE-2026-118656GO-2026-68835 Nov 2026

    Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI in github.com/labstack/echo

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • LowCVE-2026-118655GO-2026-68855 Nov 2026

    Echo has a Static Middleware Double-Unescape Path Traversal in github.com/labstack/echo

    Affected
    <5.2.0
    Fixed in
    5.2.0
  • LowCVE-2026-118262GO-2026-68385 Nov 2026

    Echo: WebSocket proxy can retain connections and handlers after client disconnect in github.com/labstack/echo

    Affected
    >=5.0.0 <5.4.1
    Fixed in
    5.4.1
  • LowCVE-2026-118264GO-2026-68395 Nov 2026

    Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls in github.com/labstack/echo

    Affected
    >=5.0.0 <5.4.1
    Fixed in
    5.4.1
  • LowCVE-2026-118265GO-2026-68415 Nov 2026

    Echo: X-Real-IP extractor trusts the header value instead of the sending peer in github.com/labstack/echo

    Affected
    >=5.0.0 <5.4.1
    Fixed in
    5.4.1
  • LowCVE-2026-118263GO-2026-68445 Nov 2026

    Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests in github.com/labstack/echo

    Affected
    >=5.0.0 <5.4.1
    Fixed in
    5.4.1
  • MediumCVE-2026-118657GHSA-2ffq-g2xg-c22p28 Oct 2026

    Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • MediumCVE-2026-118654GHSA-3pmx-cf9f-34xr28 Oct 2026

    Echo static file middleware route protection bypass via encoded dot-dot traversal

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • MediumCVE-2026-118655GHSA-xwq5-6cqp-vx9628 Oct 2026

    Echo has a Static Middleware Double-Unescape Path Traversal

    Affected
    <5.2.0
    Fixed in
    5.2.0
  • MediumCVE-2026-118656GHSA-v753-g4cw-jm4828 Oct 2026

    Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • HighCVE-2026-118650GHSA-375p-5qhx-8wq428 Oct 2026

    Echo's middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • MediumCVE-2026-118652GHSA-h9g5-28mm-hx3g28 Oct 2026

    Echo vulnerable to Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • MediumCVE-2026-118266GHSA-r7w9-592q-9vg428 Oct 2026

    Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method

    Affected
    >=5.0.0 <5.4.0
    Fixed in
    5.4.0
  • MediumCVE-2026-118651GHSA-99jh-6h7p-pp3628 Oct 2026

    Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • MediumCVE-2026-118265GHSA-h53f-rm2w-w7rg23 Oct 2026

    Echo: X-Real-IP extractor trusts the header value instead of the sending peer

    Affected
    >=5.0.0 <5.4.1
    Fixed in
    5.4.1
  • HighCVE-2026-118262GHSA-9969-6676-49h523 Oct 2026

    Echo: WebSocket proxy can retain connections and handlers after client disconnect

    Affected
    >=5.0.0 <5.4.1
    Fixed in
    5.4.1
  • CriticalCVE-2026-118264GHSA-cxf3-9h37-7rr823 Oct 2026

    Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls

    Affected
    >=5.0.0 <5.4.1
    Fixed in
    5.4.1
  • MediumCVE-2026-118263GHSA-x9ff-22gv-65f423 Oct 2026

    Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests

    Affected
    >=5.0.0 <5.4.1
    Fixed in
    5.4.1
  • LowCVE-2026-55677GO-2026-629326 Aug 2026

    Encoded slash (%2F) bypasses route-level protection and exposes static files in github.com/labstack/echo/v4 and github.com/labstack/echo/v5

    Affected
    <5.2.0
    Fixed in
    5.2.0
  • HighCVE-2026-55677GHSA-vfp3-v2gw-7wfq25 Aug 2026

    Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files

    Affected
    <5.2.0
    Fixed in
    5.2.0

Fixed within 5.1.x, affecting earlier releases

  • LowCVE-2026-118658GO-2026-68785 Nov 2026

    Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto in github.com/labstack/echo

    Affected
    <5.1.1
    Fixed in
    5.1.1
  • MediumCVE-2026-118658GHSA-23wf-92cp-8pcj28 Oct 2026

    Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto

    Affected
    <5.1.1
    Fixed in
    5.1.1

Every github.com/labstack/echo/v5 5.1.x release

Affected: 5.1.0 to 5.1.1. Latest github.com/labstack/echo/v5: 5.4.6.

VersionKnown advisories
github.com/labstack/echo/v5 5.1.1CVE-2026-118650, CVE-2026-118651, CVE-2026-118652, CVE-2026-118266, CVE-2026-118657, CVE-2026-118654, CVE-2026-118656, CVE-2026-118655, CVE-2026-118262, CVE-2026-118264, CVE-2026-118265, CVE-2026-118263, CVE-2026-118657, CVE-2026-118654, CVE-2026-118655, CVE-2026-118656, CVE-2026-118650, CVE-2026-118652, CVE-2026-118266, CVE-2026-118651, CVE-2026-118265, CVE-2026-118262, CVE-2026-118264, CVE-2026-118263, CVE-2026-55677, CVE-2026-55677
github.com/labstack/echo/v5 5.1.0CVE-2026-118650, CVE-2026-118651, CVE-2026-118652, CVE-2026-118266, CVE-2026-118658, CVE-2026-118657, CVE-2026-118654, CVE-2026-118656, CVE-2026-118655, CVE-2026-118262, CVE-2026-118264, CVE-2026-118265, CVE-2026-118263, CVE-2026-118657, CVE-2026-118654, CVE-2026-118655, CVE-2026-118656, CVE-2026-118658, CVE-2026-118650, CVE-2026-118652, CVE-2026-118266, CVE-2026-118651, CVE-2026-118265, CVE-2026-118262, CVE-2026-118264, CVE-2026-118263, CVE-2026-55677, CVE-2026-55677

Which of your client projects are still on github.com/labstack/echo/v5 5.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/labstack/echo/v5 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/labstack/echo/v5 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.