CVE-2026-55677
HIGH 7.5CVSS 3.1Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files
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.
- Published
- 26 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-vfp3-v2gw-7wfqGO-2026-6293
- Sources
- NVDJSONOSV GHSA-vfp3-v2gw-7wfqJSONOSV GO-2026-6293JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/labstack/echo/v5 | < 5.2.0 | 5.2.0 |
| OSV | Go | github.com/labstack/echo/v4 | < 4.15.3 | 4.15.3 |
| OSV | Go | github.com/labstack/echo | <= 3.3.10 |
References
- https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-55677 · ADVISORY
- https://github.com/labstack/echo/pull/3009 · WEB, FIX
- https://github.com/labstack/echo/pull/3011 · WEB, FIX
- https://github.com/labstack/echo/commit/8d1ae9d3360a71672418856d58753af25f2c3986 · WEB, FIX
- https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725 · WEB, FIX
- https://github.com/labstack/echo · PACKAGE
- https://github.com/labstack/echo/releases/tag/v4.15.3 · WEB
- https://github.com/labstack/echo/releases/tag/v5.2.0 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 26 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2026)