SEVERITY NOT PROVIDED EPSS 0.7% · 49th percentile

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

Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-cxf3-9h37-7rr8, GO-2026-6839

Summary

A security bypass flaw exists in Labstack Echo where rejected WebSocket upgrade requests can bypass route-level access controls. Engineering teams maintaining applications using affected versions of Echo must update their dependencies.

Who is affected

Applications utilizing github.com/labstack/echo/v4 or github.com/labstack/echo/v5 with route-level access controls are affected. Under specific conditions involving rejected WebSocket upgrades, unauthorized request paths may bypass security checks.

Exploitability

The CVSS vector and base score are not provided. The current EPSS score is 0.004 (percentile 0.378), and CISA KEV active exploitation is marked as no.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/labstack/echo/v4 >= 4.0.0, < 4.16.1 4.16.1 go get github.com/labstack/echo/[email protected]
Go github.com/labstack/echo/v5 >= 5.0.0, < 5.4.1 5.4.1 go get github.com/labstack/echo/[email protected]

FAQ

What packages are affected by CVE-2026-118264?

Go github.com/labstack/echo/v4 (versions 4.0.0 through 4.16.0) and github.com/labstack/echo/v5 (versions 5.0.0 through 5.4.0).

Is this vulnerability actively exploited in the wild?

No, CISA Known Exploited Vulnerabilities status is set to no.

How do I fix this vulnerability?

Update github.com/labstack/echo/v4 to version 4.16.1 or github.com/labstack/echo/v5 to version 5.4.1.

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

References

Source records: GO-2026-6839 (OSV.dev) · EPSS by FIRST, 2026-11-26.