{"schema":"threatline.record/2","record":{"id":"CVE-2026-118656","aliases":["GHSA-v753-g4cw-jm48"],"summary":"Echo: Open Redirect via Control-Character Prefix Defeating sanitizeURI","details":"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.","categories":["Unclassified"],"product":"echo","vendor":"labstack","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-118656","source_modified_at":"2026-10-28T20:12:13.757Z","fetched_at":"2026-10-28T20:58:01.013507Z","product":"echo","vendor":"labstack","versions":[{"version":">= 5.0.0, < 5.4.0","status":"affected"},{"version":"< 4.16.0","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":6.1,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T20:12:13.757Z","modified_at":"2026-10-28T20:12:13.757Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-118656","fetched_at":"2026-10-28T20:58:01.013507Z","source_modified_at":"2026-10-28T20:12:13.757Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/labstack/echo/security/advisories/GHSA-v753-g4cw-jm48","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/labstack/echo/releases/tag/v4.16.0","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/labstack/echo/releases/tag/v5.4.0","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-28T20:12:13.757Z","content_hash":"3c7f5e2bb732214404bc8337bb939a670730baa197d39b14093694677cda921d"}}
