SEVERITY NOT PROVIDED EPSS 0.3% · 21th percentile

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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
Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI in github.com/labstack/echo

References

Source records: GO-2026-6883 (OSV.dev) · EPSS by FIRST, 2026-11-26.