ADVISORIES

Vulnerability

CVE-2026-118658

Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Context.Scheme returns values from X-Forwarded-Proto, X-Forwarded-Protocol, or X-Url-Scheme without validating that they are supported web schemes. WWWRedirect and NonWWWRedirect use that value to construct a Location header, so an attacker controlling a forwarded scheme header can cause a redirect to use an arbitrary URI scheme. Exploitation requires an affected redirect middleware and user interaction with the response; the HTTPS-specific redirect variants hardcode HTTPS and are unaffected. This issue is fixed in 4.15.2 and 5.1.1.

6 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2026-118658

    Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Context.Scheme returns values from X-Forwarded-Proto, X-Forwarded-Protocol, or X-Url-Scheme without validating that they are supported web schemes. WWWRedirect and…

    CVE-2026-118658 Debian Updated 3 November 2026
  • GHSA-23wf-92cp-8pcj

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

    Moderate CVE-2026-118658 Go Updated 5 November 2026
  • GO-2026-6878

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

    CVE-2026-118658 Go Updated 5 November 2026
  • SUSE-SU-2026:24730-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2026-100347CVE-2026-100348CVE-2026-100349CVE-2026-100350 SUSE Updated 17 November 2026
  • UBUNTU-CVE-2026-118658

    Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Context.Scheme returns values from X-Forwarded-Proto, X-Forwarded-Protocol, or X-Url-Scheme without validating that they are supported web schemes. WWWRedirect and…

    CVE-2026-118658 Ubuntu Updated 5 November 2026
  • openSUSE-SU-2026:22336-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2026-100347CVE-2026-100348CVE-2026-100349CVE-2026-100350 openSUSE Updated 18 November 2026

References