CVE-2026-118658
Last modified
CVE-2026-118658 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| labstack | echo | >= 5.0.0, < 5.1.1; < 4.15.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-118658?
How severe is CVE-2026-118658?
How do I fix CVE-2026-118658?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-118652Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Conte…6.1
- CVE-2026-118653Echo is a Go web framework. From 4.0.0 until 5.1.0, Context.…5.3
- CVE-2026-118654Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo'…5.9
- CVE-2026-118655Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middl…5.9
- CVE-2026-118656Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, sanit…6.1
- CVE-2026-118657Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Conte…5.9
- CVE-2026-118659Happy DOM is a JavaScript implementation of a web browser wi…7.5
- CVE-2026-11866The Appointment Booking Plugin WordPress plugin before 5.6.…5.4
- CVE-2026-118660Happy DOM is a JavaScript implementation of a web browser wi…8.6
- CVE-2026-118661Happy DOM is a JavaScript implementation of a web browser wi…6.5
- CVE-2026-118662Vite is a frontend tooling framework for JavaScript. From 6.…6.9
- CVE-2026-118663@hono/node-server allows running the Hono application on Nod…5.3
Are you affected by CVE-2026-118658?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
