CVE-2026-118654
Published:October 28, 2026
Updated:October 29, 2026
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also reachable through a static filesystem mount after path normalization. This vulnerability is the result of an incomplete fix for CVE-2026-55677. This issue is fixed in 4.16.0 and 5.4.0.
Affected Packages
https://github.com/labstack/echo.git (GITHUB):
Affected version(s) >=v3.1.0-rc.1 <v4.16.0 || >=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:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory