{"id":"CVE-2026-118656","published":"2026-10-28T20:12:13Z","modified":"2026-10-29T17:23:39Z","title":"Echo: Open Redirect via Control-Character Prefix Defeating sanitizeURI","vendor":"labstack","product":"echo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.09572,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/labstack/echo/security/advisories/GHSA-v753-g4cw-jm48","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/releases/tag/v4.16.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/releases/tag/v5.4.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":1.91},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"labstack","affectedVersions":[{"vendor":"labstack","product":"echo","versions":[">= 5.0.0, < 5.4.0","< 4.16.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-29T15:29:15.771728Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/labstack/echo/v5","vulnerableRanges":["<5.4.0"],"patched":["5.4.0"],"from":["GHSA-v753-g4cw-jm48","GO-2026-6883"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/labstack/echo/v4","vulnerableRanges":["<4.16.0"],"patched":["4.16.0"],"from":["GHSA-v753-g4cw-jm48","GO-2026-6883"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112463","exploited":false,"provenance":"source"}}