CVE-2026-118650: URL-encoded path bypasses route/group middleware guarding a statically-served path in github.com/labstack/echo
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-375p-5qhx-8wq4, GO-2026-6873
Summary
A URL-encoded path bypass vulnerability exists in the Echo web framework that allows unauthenticated requests to bypass route or group middleware guarding statically-served paths. Engineering teams maintaining applications using affected versions of github.com/labstack/echo should update immediately.
Who is affected
Deployments using github.com/labstack/echo/v4 prior to version 4.16.0 or github.com/labstack/echo/v5 prior to version 5.4.0 are affected when they rely on route or group middleware to protect statically-served paths. Attackers can exploit this flaw by submitting URL-encoded requests to bypass the security controls intended to guard those paths.
Exploitability
The EPSS score is 0.004 (percentile 0.345), indicating a low probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, and CVSS vector details are not documented.
Remediation
- Upgrade Go package github.com/labstack/echo/v4 to version 4.16.0 or later.
- Upgrade Go package github.com/labstack/echo/v5 to version 5.4.0 or later.
How to check your project
- Inspect project dependency files such as go.mod to verify if github.com/labstack/echo/v4 or github.com/labstack/echo/v5 is included.
- Check dependency management tool outputs or lock files to confirm the exact installed version of github.com/labstack/echo.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/labstack/echo/v4 |
>= 0, < 4.16.0 | 4.16.0 | go get github.com/labstack/echo/[email protected] |
| Go | github.com/labstack/echo/v5 |
>= 5.0.0, < 5.4.0 | 5.4.0 | go get github.com/labstack/echo/[email protected] |
FAQ
What packages are affected by CVE-2026-118650?
Go package github.com/labstack/echo/v4 (versions prior to 4.16.0) and github.com/labstack/echo/v5 (versions prior to 5.4.0) are affected.
Is this vulnerability actively exploited in the wild?
No, it is not listed in the CISA Known Exploited Vulnerabilities catalog.
What causes the vulnerability?
The flaw is caused by URL-encoded paths bypassing route or group middleware that guards statically-served paths.
Original advisory description
References
- ADVISORY https://github.com/labstack/echo/security/advisories/GHSA-375p-5qhx-8wq4
- FIX https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1
- FIX https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
- WEB https://github.com/labstack/echo/releases/tag/v4.16.0
- WEB https://github.com/labstack/echo/releases/tag/v5.4.0
Source records: GO-2026-6873 (OSV.dev) · EPSS by FIRST, 2026-11-22.