CVE-2026-118656: Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI in github.com/labstack/echo
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-v753-g4cw-jm48, GO-2026-6883
Summary
CVE-2026-118656 (GHSA-v753-g4cw-jm48, GO-2026-6883) is an open redirect vulnerability in github.com/labstack/echo where a control-character prefix defeats sanitizeURI. Teams running Go applications with github.com/labstack/echo/v4 before 4.16.0 or github.com/labstack/echo/v5 before 5.4.0 should update to the fixed versions.
Who is affected
Deployments using Go modules github.com/labstack/echo/v4 (introduced at 0, fixed in 4.16.0) or github.com/labstack/echo/v5 (introduced at 0, fixed in 5.4.0) are affected. The flaw enables an open redirect by using a control-character prefix to bypass sanitizeURI. Further deployment prerequisites, attack chains, and CWE classifications are not documented in the provided record.
Exploitability
A CVSS vector and base score are not provided, leaving the formal severity rating unknown. The EPSS score is 0.002 (percentile 0.095), indicating a very low estimated probability of exploitation in the wild. CISA Known Exploited Vulnerabilities status is listed as no, so active exploitation is not reported.
Remediation
- Upgrade github.com/labstack/echo/v4 to version 4.16.0 or later if your project uses the v4 module.
- Upgrade github.com/labstack/echo/v5 to version 5.4.0 or later if your project uses the v5 module.
- Rebuild and redeploy affected Go services after updating dependencies and confirming no downgraded transitive references remain.
How to check your project
- Inspect go.mod and go.sum files or run 'go list -m all' to verify whether github.com/labstack/echo/v4 is below 4.16.0 or github.com/labstack/echo/v5 is below 5.4.0.
- Scan Go module dependencies against vulnerability databases tracking CVE-2026-118656, GHSA-v753-g4cw-jm48, or GO-2026-6883.
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 |
>= 0, < 5.4.0 | 5.4.0 | go get github.com/labstack/echo/[email protected] |
FAQ
Which versions of github.com/labstack/echo fix CVE-2026-118656?
The vulnerability is fixed in github.com/labstack/echo/v4 version 4.16.0 and github.com/labstack/echo/v5 version 5.4.0.
Is there evidence of active exploitation or a high likelihood of attack?
No. The record is not in the CISA Known Exploited Vulnerabilities catalog, and its EPSS score is 0.002 (0.095 percentile).
What are the CVSS score, CWE, and workaround details for this flaw?
CVSS vector, base score, CWE identifier, and configuration-based workarounds are not documented in this record; upgrading to 4.16.0 (v4) or 5.4.0 (v5) is the documented remediation.
Original advisory description
References
- ADVISORY https://github.com/labstack/echo/security/advisories/GHSA-v753-g4cw-jm48
- 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-6883 (OSV.dev) · EPSS by FIRST, 2026-11-26.