SEVERITY NOT PROVIDED EPSS 0.2% · 8th percentile

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

Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-2ffq-g2xg-c22p, GO-2026-6879

Summary

The Echo web framework unconditionally trusts forwarded scheme headers, allowing attackers to bypass HTTPS redirects and HSTS policies. Engineering teams using github.com/labstack/echo/v4 or v5 must update their dependencies.

Who is affected

Deployments utilizing Echo's HTTPS redirection or HSTS features behind reverse proxies or load balancers are affected. This flaw allows malicious actors to force connections over plain HTTP by manipulating forwarded scheme headers.

Exploitability

The CVSS vector is not provided and the CISA Known Exploited Vulnerabilities status is no, meaning active exploitation is not documented. The EPSS score is 0.001 with a percentile of 0.029, indicating a very low probability of exploitation in the wild.

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 >= 0, < 4.16.0 4.16.0 go get github.com/labstack/echo/[email protected]
Go github.com/labstack/echo/v5 >= 0, < 5.4.0 5.4.0 go get github.com/labstack/echo/[email protected]

FAQ

What is CVE-2026-118657?

It is an HTTPS redirect and HSTS bypass vulnerability in the Echo web framework caused by the unconditional trust of forwarded scheme headers.

Which packages are affected?

Go packages github.com/labstack/echo/v4 (before 4.16.0) and github.com/labstack/echo/v5 (before 5.4.0) are affected.

Is there any active exploitation documented?

No, CISA KEV status is no and exploit data is not documented beyond low EPSS metrics.

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

References

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