{"id":"EUVD-2026-112464","enisaUuid":"a8dfef22-d6a5-3446-9840-e5d40ea2083e","description":"Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Context.Scheme unconditionally trusts forwarded scheme headers from any client. A client that reaches Echo directly over plaintext HTTP can claim an HTTPS scheme and bypass HTTPSRedirect because the request is treated as already secure. Separately, behind a TLS-terminating proxy that passes an attacker-controlled header, a claimed HTTP scheme can suppress the Strict-Transport-Security header even though the browser receives the response over HTTPS. The practical risk is reduced when a trusted proxy overwrites the headers and direct backend access is prevented, but the framework previously had no trusted-source configuration for this decision. This issue is fixed in 4.16.0 and 5.4.0.","datePublished":"Oct 28, 2026, 8:14:09 PM","dateUpdated":"Nov 3, 2026, 1:32:02 PM","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","references":"https://github.com/labstack/echo/security/advisories/GHSA-2ffq-g2xg-c22p\nhttps://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1\nhttps://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af\nhttps://github.com/labstack/echo/releases/tag/v4.16.0\nhttps://github.com/labstack/echo/releases/tag/v5.4.0\n","aliases":"CVE-2026-118657\nGHSA-2ffq-g2xg-c22p\n","assigner":"GitHub_M","epss":0.13,"enisaIdProduct":[{"id":"4ba13441-2c82-3f3a-87e4-a4010151c74e","product":{"name":"Echo","vendor":{"name":"Wikimedia Foundation"}},"product_version":"\u003c 4.16.0"},{"id":"84efcf1e-9567-3e9d-aa26-8a0abb3481d9","product":{"name":"Echo","vendor":{"name":"Wikimedia Foundation"}},"product_version":"5.0.0, \u003c 5.4.0"}],"enisaIdVendor":[{"id":"20e05e24-d5d7-353a-bb03-28691138fc2a","vendor":{"name":"labstack"}}],"enisaIdVulnerability":[{"id":"63590090-f5ca-3371-9a9b-fe89a0023928","vulnerability":{"id":"CVE-2026-118657","description":"Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Context.Scheme unconditionally trusts forwarded scheme headers from any client. A client that reaches Echo directly over plaintext HTTP can claim an HTTPS scheme and bypass HTTPSRedirect because the request is treated as already secure. Separately, behind a TLS-terminating proxy that passes an attacker-controlled header, a claimed HTTP scheme can suppress the Strict-Transport-Security header even though the browser receives the response over HTTPS. The practical risk is reduced when a trusted proxy overwrites the headers and direct backend access is prevented, but the framework previously had no trusted-source configuration for this decision. This issue is fixed in 4.16.0 and 5.4.0.","datePublished":"Oct 28, 2026, 8:14:09 PM","dateUpdated":"Nov 3, 2026, 1:32:02 PM","status":"PUBLISHED","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","references":"https://github.com/labstack/echo/security/advisories/GHSA-2ffq-g2xg-c22p\nhttps://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1\nhttps://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af\nhttps://github.com/labstack/echo/releases/tag/v4.16.0\nhttps://github.com/labstack/echo/releases/tag/v5.4.0\n","enisa_id":"EUVD-2026-112464\n","assigner":"GitHub_M","epss":0.13,"dataProcessed":"Nov 14, 2026, 7:20:14 AM","vulnerabilityProduct":[{"id":"1a7a9801-089b-3122-8057-23ad745a98a2","product":{"name":"Echo","vendor":{"name":"Wikimedia Foundation"}},"product_version":"5.0.0, \u003c 5.4.0"},{"id":"5caf8043-cfb1-39a2-9025-a8ae9a2fdb0f","product":{"name":"Echo","vendor":{"name":"Wikimedia Foundation"}},"product_version":"\u003c 4.16.0"}],"vulnerabilityVendor":[{"id":"e6bec37b-b85b-3831-b4c1-594a06b409f0","vendor":{"name":"labstack"}}]}},{"id":"c5a2a869-ae47-3672-acb8-b7aae592bf08","vulnerability":{"id":"GHSA-2ffq-g2xg-c22p","description":"Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers","datePublished":"Oct 28, 2026, 9:04:52 PM","dateUpdated":"Oct 28, 2026, 9:04:52 PM","baseScore":0.0,"references":"https://github.com/labstack/echo/security/advisories/GHSA-2ffq-g2xg-c22p\nhttps://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1\nhttps://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af\nhttps://github.com/labstack/echo\nhttps://github.com/labstack/echo/releases/tag/v4.16.0\nhttps://github.com/labstack/echo/releases/tag/v5.4.0\n","enisa_id":"EUVD-2026-112464\n","aliases":"CVE-2026-118657\nGHSA-2ffq-g2xg-c22p\n","epss":0.0,"dataProcessed":"Nov 14, 2026, 7:05:35 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}