{"id":"CVE-2026-118656","sourceIdentifier":"security-advisories@github.com","published":"2026-10-28T21:16:55.550","lastModified":"2026-10-28T21:16:55.550","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, sanitizeURI checks only the first two bytes of a redirect target before deciding whether it begins with an absolute-path separator pair. When AddTrailingSlash or RemoveTrailingSlash is configured with a redirect status, a slash, TAB, separator path form can evade the guard, be emitted in the Location header, and be normalized by a browser into an attacker-controlled host. This issue is fixed in 4.16.0 and 5.4.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"labstack","product":"echo","versions":[{"version":">= 5.0.0, < 5.4.0","status":"affected"},{"version":"< 4.16.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Primary","description":[{"lang":"en","value":"CWE-601"}]}],"references":[{"url":"https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1","source":"security-advisories@github.com"},{"url":"https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af","source":"security-advisories@github.com"},{"url":"https://github.com/labstack/echo/releases/tag/v4.16.0","source":"security-advisories@github.com"},{"url":"https://github.com/labstack/echo/releases/tag/v5.4.0","source":"security-advisories@github.com"},{"url":"https://github.com/labstack/echo/security/advisories/GHSA-v753-g4cw-jm48","source":"security-advisories@github.com"}]}