{"id":"DHI-a4pe-c6bt-bzv2-6wb5","summary":"Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Context.Scheme returns values from X-Forwarded-Proto…","details":"Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Context.Scheme returns values from X-Forwarded-Proto, X-Forwarded-Protocol, or X-Url-Scheme without validating that they are supported web schemes. WWWRedirect and NonWWWRedirect use that value to construct a Location header, so an attacker controlling a forwarded scheme header can cause a redirect to use an arbitrary URI scheme. Exploitation requires an affected redirect middleware and user interaction with the response; the HTTPS-specific redirect variants hardcode HTTPS and are unaffected. This issue is fixed in 4.15.2 and 5.1.1.","modified":"2026-11-20T04:30:21.752755102Z","published":"2026-11-11T22:44:51Z","upstream":["CVE-2026-118658"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-a4pe-c6bt-bzv2-6wb5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118658"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-118658"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-23wf-92cp-8pcj"},{"type":"ADVISORY","url":"https://github.com/labstack/echo/security/advisories/GHSA-23wf-92cp-8pcj"},{"type":"FIX","url":"https://github.com/labstack/echo/pull/2953"},{"type":"FIX","url":"https://github.com/labstack/echo/commit/d1d8ad3f99dd9b80542cd0c357d56a8916c515df"},{"type":"FIX","url":"https://github.com/labstack/echo/commit/ca4f38a474302aabee93c66bdd0052359882e181"},{"type":"WEB","url":"https://github.com/labstack/echo/releases/tag/v5.1.1"},{"type":"WEB","url":"https://github.com/labstack/echo/releases/tag/v4.15.2"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-6878"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-118658"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-118658"}],"affected":[{"package":{"name":"hatchet-lite-dev","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/hatchet-lite-dev"},"versions":["0.102.0-r0","0.103.0-r0","0.104.0-r0","0.104.0-r1","0.104.0-r2","0.105.0-r0","0.105.0-r1","0.105.0-r2","0.106.0-r0","0.106.0-r1","0.106.0-r2","0.107.0-r1","0.108.0-r0","0.109.0-r0","0.110.0-r0","0.110.0-r1","0.111.0-r0","0.112.0-r0","0.112.0-r1","0.113.0-r0","0.114.0-r0","0.114.0-r1","0.114.0-r2","0.115.0-r0","0.116.0-r0","0.116.0-r1","0.117.0-r0","0.119.0-r0","0.119.0-r1","0.120.0-r0","0.120.0-r1","0.120.0-r2","0.120.0-r3","0.120.0-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-a4pe-c6bt-bzv2-6wb5.json"}},{"package":{"name":"hatchet-lite","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/hatchet-lite"},"versions":["0.102.0-r0","0.103.0-r0","0.104.0-r0","0.104.0-r1","0.104.0-r2","0.105.0-r0","0.105.0-r1","0.105.0-r2","0.106.0-r0","0.106.0-r1","0.106.0-r2","0.107.0-r1","0.108.0-r0","0.109.0-r0","0.110.0-r0","0.110.0-r1","0.111.0-r0","0.112.0-r0","0.112.0-r1","0.113.0-r0","0.114.0-r0","0.114.0-r1","0.114.0-r2","0.115.0-r0","0.116.0-r0","0.116.0-r1","0.117.0-r0","0.119.0-r0","0.119.0-r1","0.120.0-r0","0.120.0-r1","0.120.0-r2","0.120.0-r3","0.120.0-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-a4pe-c6bt-bzv2-6wb5.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}