Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/labstack/echo/v5
  4. ›
  5. CVE-2026-55677

CVE-2026-55677: Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files

August 25, 2026

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.

References

  • github.com/advisories/GHSA-vfp3-v2gw-7wfq
  • github.com/labstack/echo/commit/8d1ae9d3360a71672418856d58753af25f2c3986
  • github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725
  • github.com/labstack/echo/pull/3009
  • github.com/labstack/echo/pull/3011
  • github.com/labstack/echo/releases/tag/v4.15.3
  • github.com/labstack/echo/releases/tag/v5.2.0
  • github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq
  • nvd.nist.gov/vuln/detail/CVE-2026-55677

Code Behaviors & Features

Detect and mitigate CVE-2026-55677 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.2.0

Fixed versions

  • 5.2.0

Solution

Upgrade to version 5.2.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/labstack/echo/v5/CVE-2026-55677.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 27 Aug 2026 00:20:00 +0000.