CVE-2026-118657
Last modified
CVE-2026-118657 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Context.Scheme unconditionally trusts forwarded scheme headers from any client. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Context.Scheme unconditionally trusts forwarded scheme headers from any client. A client that reaches Echo directly over plaintext HTTP can claim an HTTPS scheme and bypass HTTPSRedirect because the request is treated as already secure. Separately, behind a TLS-terminating proxy that passes an attacker-controlled header, a claimed HTTP scheme can suppress the Strict-Transport-Security header even though the browser receives the response over HTTPS. The practical risk is reduced when a trusted proxy overwrites the headers and direct backend access is prevented, but the framework previously had no trusted-source configuration for this decision. This issue is fixed in 4.16.0 and 5.4.0.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| labstack | echo | >= 5.0.0, < 5.4.0; < 4.16.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-118657?
How severe is CVE-2026-118657?
How do I fix CVE-2026-118657?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling 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-118651Echo is a Go web framework. From 4.0.0 until 5.4.0, the Prox…5.3
- 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-118658Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Conte…4.7
- 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
Are you affected by CVE-2026-118657?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
