6.1
MediumCVSS 3.1 · from GitHub_M
CVE-2026-118656
Echo: Open Redirect via Control-Character Prefix Defeating sanitizeURI
echo · Open redirect · CWE-601Affectedecho
FixNo fix listed yet.
PublishedOct 28, 20:12 · GitHub_M
ScoredOct 28 · 6.1 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:09 UTC
What we know
No known exploitation. CISA KEV, checked 22:09 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
Someone has to open, click or run something first. CVSS: user interaction required.
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.
From GitHub_M
Affected and fixed versions
ProductAffectedFixed inecho>= 5.0.0, < 5.4.0–echo< 4.16.0–
Exploit code
Exploit-DBnone knownMetasploitnone knownNucleinone known