CVE-2026-55677 Details
Description
Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, Echo's router and static file handler disagree on URL path decoding. The router matches routes using the raw encoded path (preserving %2F as-is), while StaticDirectoryHandler unescapes %2F to / before resolving filesystem paths. This allows an attacker to bypass route-level access controls and read static files without authorization. This vulnerability is fixed in 4.15.3 and 5.2.0.
A vulnerability exists in the Echo web framework for Go, specifically in versions prior to 4.15.3 and 5.2.0. The issue arises from a disagreement between Echo's router and its static file handler regarding URL path decoding. The router matches routes using the raw encoded path, preserving encoded slashes, while the static file handler unescapes these slashes before resolving filesystem paths. This inconsistency enables attackers to bypass route-level access controls and access static files without authorization. The vulnerability is particularly concerning for applications that use authentication middleware to protect certain routes while serving static files from a broader directory.
Users can upgrade to Echo versions 4.15.3 or 5.2.0, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 26, 2026CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Echo | <= 4.15.2 (semver) <= 5.1.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2026 | New CVE Received | [email protected] |
Volerion