github.com/labstack/echo/v4 vulnerabilities

Registry
Go
Latest
4.16.5

34 known advisories

The latest version, 4.16.5, is affected by 2 of them.

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

Security advisories for github.com/labstack/echo/v4

  • 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-118262GO-2026-68385 Nov 2026

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

    Affected
    >=4.15.0 <4.16.1
    Fixed in
    4.16.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
    >=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-118262GHSA-9969-6676-49h523 Oct 2026

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

    Affected
    >=4.15.0 <4.16.1
    Fixed in
    4.16.1
  • 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
  • MediumCVE-2020-36565GHSA-j453-hm5x-c46w7 Dec 2022

    Echo vulnerable to directory traversal

    Affected
    <4.2.0
    Fixed in
    4.2.0
  • 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
  • LowCVE-2020-36565GO-2021-005114 Apr 2021

    Directory traversal on Windows in github.com/labstack/echo/v4

    Affected
    <4.1.18-0.20201215153152-4422e3b66b9f
    Fixed in
    4.1.18-0.20201215153152-4422e3b66b9f

Is your github.com/labstack/echo/v4 version vulnerable?

Which of your client projects still run an old github.com/labstack/echo/v4?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.