Is github.com/labstack/echo/v4 4.2 vulnerable?

Go · 3 releases from 4.2.0 to 4.2.2 · latest github.com/labstack/echo/v4 is 4.16.5 · checked 18 Nov 2026

Yes: 30 known advisories

Yes. github.com/labstack/echo/v4 4.2.2, the last 4.2 release, is affected by 30 known security advisories (2 critical, 4 high, 9 medium, 15 low), including CVE-2026-118264, CVE-2022-40083, CVE-2026-118650. At least one has no fixed release yet.

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

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/v4 4.2.2

  • LowCVE-2026-118653GO-2026-68725 Nov 2026

    Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration in github.com/labstack/echo

    Affected
    >=4.0.0
    Fixed in
    No fix released
  • 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
    <4.16.0
    Fixed in
    4.16.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
    >=4.0.0
    Fixed in
    No fix released
  • LowCVE-2026-118652GO-2026-68765 Nov 2026

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

    Affected
    <4.16.0
    Fixed in
    4.16.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
    <4.16.0
    Fixed in
    4.16.0
  • LowCVE-2026-118658GO-2026-68785 Nov 2026

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

    Affected
    <4.15.2
    Fixed in
    4.15.2
  • 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
    <4.16.0
    Fixed in
    4.16.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
    <4.16.0
    Fixed in
    4.16.0
  • LowCVE-2026-118656GO-2026-68835 Nov 2026

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

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

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

    Affected
    <4.15.3
    Fixed in
    4.15.3
  • LowCVE-2026-118264GO-2026-68395 Nov 2026

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

    Affected
    >=4.0.0 <4.16.1
    Fixed in
    4.16.1
  • LowCVE-2026-118260GO-2026-68405 Nov 2026

    Echo: BodyDump captures request and response bodies without size limits in v4 in github.com/labstack/echo

    Affected
    >=4.0.0 <4.16.1
    Fixed in
    4.16.1
  • LowCVE-2026-118261GO-2026-68425 Nov 2026

    Echo: Decompress permits unbounded gzip expansion in v4 in github.com/labstack/echo

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

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

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

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

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

    Echo has a Static Middleware Double-Unescape Path Traversal

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

    Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI

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

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

    Affected
    <4.15.2
    Fixed in
    4.15.2
  • 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
    <4.16.0
    Fixed in
    4.16.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
    <4.16.0
    Fixed in
    4.16.0
  • MediumCVE-2026-118653GHSA-246p-cpwv-v3jq28 Oct 2026

    Echo has Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration

    Affected
    >=4.0.0 <=4.16.2
    Fixed in
    No fix released
  • MediumCVE-2026-118266GHSA-r7w9-592q-9vg428 Oct 2026

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

    Affected
    <4.16.0
    Fixed in
    4.16.0
  • MediumCVE-2026-118651GHSA-99jh-6h7p-pp3628 Oct 2026

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

    Affected
    >=4.0.0 <=4.16.2
    Fixed in
    No fix released
  • HighCVE-2026-118261GHSA-h7wr-284f-5qvc23 Oct 2026

    Echo: Decompress permits unbounded gzip expansion in v4

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

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

    Affected
    >=4.0.0 <4.16.1
    Fixed in
    4.16.1
  • HighCVE-2026-118260GHSA-f48p-c9v4-h7xv23 Oct 2026

    Echo: BodyDump captures request and response bodies without size limits in v4

    Affected
    >=4.0.0 <4.16.1
    Fixed in
    4.16.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
    <4.15.3
    Fixed in
    4.15.3
  • HighCVE-2026-55677GHSA-vfp3-v2gw-7wfq25 Aug 2026

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

    Affected
    <4.15.3
    Fixed in
    4.15.3
  • LowCVE-2022-40083GO-2022-103111 Oct 2022

    Open redirect in github.com/labstack/echo/v4

    Affected
    <4.9.0
    Fixed in
    4.9.0
  • CriticalCVE-2022-40083GHSA-crxj-hrmp-4rwf29 Sept 2022

    Labstack Echo Open Redirect vulnerability

    Affected
    <4.9.0
    Fixed in
    4.9.0

Every github.com/labstack/echo/v4 4.2.x release

Affected: 4.2.0 to 4.2.2. Latest github.com/labstack/echo/v4: 4.16.5.

VersionKnown advisories
github.com/labstack/echo/v4 4.2.2CVE-2026-118653, CVE-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-118264, CVE-2026-118260, CVE-2026-118261, CVE-2026-118657, CVE-2026-118654, CVE-2026-118655, CVE-2026-118656, CVE-2026-118658, CVE-2026-118650, CVE-2026-118652, CVE-2026-118653, CVE-2026-118266, CVE-2026-118651, CVE-2026-118261, CVE-2026-118264, CVE-2026-118260, CVE-2026-55677, CVE-2026-55677, CVE-2022-40083, CVE-2022-40083
github.com/labstack/echo/v4 4.2.1CVE-2026-118653, CVE-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-118264, CVE-2026-118260, CVE-2026-118261, CVE-2026-118657, CVE-2026-118654, CVE-2026-118655, CVE-2026-118656, CVE-2026-118658, CVE-2026-118650, CVE-2026-118652, CVE-2026-118653, CVE-2026-118266, CVE-2026-118651, CVE-2026-118261, CVE-2026-118264, CVE-2026-118260, CVE-2026-55677, CVE-2026-55677, CVE-2022-40083, CVE-2022-40083
github.com/labstack/echo/v4 4.2.0CVE-2026-118653, CVE-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-118264, CVE-2026-118260, CVE-2026-118261, CVE-2026-118657, CVE-2026-118654, CVE-2026-118655, CVE-2026-118656, CVE-2026-118658, CVE-2026-118650, CVE-2026-118652, CVE-2026-118653, CVE-2026-118266, CVE-2026-118651, CVE-2026-118261, CVE-2026-118264, CVE-2026-118260, CVE-2026-55677, CVE-2026-55677, CVE-2022-40083, CVE-2022-40083

Which of your client projects are still on github.com/labstack/echo/v4 4.2?

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

Other github.com/labstack/echo/v4 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.