CVE-2026-118656
Published:October 28, 2026
Updated:October 29, 2026
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.
Affected Packages
https://github.com/labstack/echo.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.16.0Fix Suggestion:
Update to version v4.16.0https://github.com/labstack/echo.git (GITHUB):
Affected version(s) >=v5.0.0 <v5.4.0Fix Suggestion:
Update to version v5.4.0github.com/labstack/echo/v4 (GO):
Affected version(s) >=v4.0.0 <v4.16.0Fix Suggestion:
Update to version v4.16.0github.com/labstack/echo/v5 (GO):
Affected version(s) >=v5.0.0 <v5.4.0Fix Suggestion:
Update to version v5.4.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
URL Redirection to Untrusted Site