CVE-2026-118656 json
Echo: Open Redirect via Control-Character Prefix Defeating sanitizeURI
published 2026-10-28 11 d ago modified 2026-11-05 3 d ago also GHSA-v753-g4cw-jm48 , GO-2026-6883 , EUVD-2026-112463
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, sanitizeURI checks only the first two bytes of a redirect target before deciding whether it begins with an absolute-path separator pair. When AddTrailingSlash or RemoveTrailingSlash is configured with a redirect status, a slash, TAB, separator path form can evade the guard, be emitted in the Location header, and be normalized by a browser into an attacker-controlled host. This issue is fixed in 4.16.0 and 5.4.0.
Patch / fix
- go github.com/labstack/echo/v5 5.4.0
- go github.com/labstack/echo/v4 4.16.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-118656 updated cvss 6.1
github.com/labstack/echo: Echo: Open redirect via improper URI sanitization
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10 d ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/labstack/echo/v5 | <5.4.0 |
5.4.0 |
| go | github.com/labstack/echo/v4 | <4.16.0 |
4.16.0 |
Affected products
- labstack echo
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
github.com
/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1
web, patch
-
github.com
/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
web, patch
-
github.com
/labstack/echo/security/advisories/GHSA-v753-g4cw-jm48
web, advisory
-
github.com
/labstack/echo/releases/tag/v4.16.0
web
-
github.com
/labstack/echo/releases/tag/v5.4.0
web
-
github.com
/labstack/echo
package
Sources
- CVE List CVE-2026-118656
- GitHub Advisory GHSA-v753-g4cw-jm48
- NVD CVE-2026-118656
- OSV GO-2026-6883
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.