CVE-2026-118658: labstack echo · Open Redirect
Affects labstack echoSource CVE Database V5
Not known to be exploited · CVSS 4.7 Medium : upgrade to 5.1.1 or 4.15.2 when convenient.
Data as of 28 Oct 2026, 20:43 UTC
- Patch
- Available – fixed in 5.1.1, 4.15.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade echo and github.com/labstack/echo to 5.1.1 or 4.15.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| labstackecho | Affected
| Fixed in
|
| labstackecho | Affected
| Fixed in
|
Gogithub.com/labstack/echopkg:golang/github.com/labstack/echoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade labstack echo to version 4.15.2 or later, or 5.1.1 or later, where this vulnerability is fixed. No other mitigation is required as the fix validates the scheme used in redirects. If upgrading is not immediately possible, avoid using redirect middleware that relies on Context.Scheme with untrusted forwarded scheme headers.
Description
CVE-2026-118658 is an open redirect vulnerability in the labstack echo Go web framework. Versions prior to 4.15.2 and 5.1.1 allow an attacker to control the scheme used in redirects by manipulating certain forwarded scheme headers. This can lead to redirects using arbitrary URI schemes. The issue affects redirect middleware that uses Context.Scheme without validating the scheme. HTTPS-specific redirects are not affected. The vulnerability is fixed in versions 4.15.2 and 5.1.1.
References
- github.com/labstack/echo/security/advisories/GHSA-23wf-92cp-8pcj (opens in a new tab)
- github.com/labstack/echo/commit/ca4f38a474302aabee93c66bdd0052359882e181 (opens in a new tab)
- github.com/labstack/echo/commit/d1d8ad3f99dd9b80542cd0c357d56a8916c515df (opens in a new tab)
- github.com/labstack/echo/releases/tag/v4.15.2 (opens in a new tab)
- github.com/labstack/echo/releases/tag/v5.1.1 (opens in a new tab)