{"id":"CVE-2026-118656","revision":"461da966c89b4dbf8700af203c7f9d79","records":[{"revision":"461da966c89b4dbf8700af203c7f9d79","observedAt":"2026-10-28T21:55:13.262+00:00","statement":{"source":"cve-program","id":"CVE-2026-118656","aliases":[],"title":"Echo: Open Redirect via Control-Character Prefix Defeating sanitizeURI","description":"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.","state":0,"publishedAt":"2026-10-28T20:12:13.757+00:00","modifiedAt":"2026-10-28T20:12:13.757+00:00","affected":[{"ecosystem":"Vendor product","name":"echo","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"labstack\",\n                    \"product\": \"echo\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 5.0.0, < 5.4.0\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"< 4.16.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/labstack/echo/security/advisories/GHSA-v753-g4cw-jm48","https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1","https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af","https://github.com/labstack/echo/releases/tag/v4.16.0","https://github.com/labstack/echo/releases/tag/v5.4.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-118656","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-118656","identifiers":["CVE-2026-118656"]},"retained":false,"historicalAffected":[]}],"coverage":[]}