Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Echo v5 before 5.4.0 and Echo v4 before 4.16.0 trust client-supplied forwarded scheme headers (such as X-Forwarded-Proto) without any configuration, so Context.Scheme() can return an attacker-chosen value. A remote attacker who can reach the application directly, or bypass a proxy, can skip HTTPS redirect enforcement, suppress HSTS headers, and inject arbitrary schemes into URLs built by the WWW redirect middleware. Upgrade to Echo v5.4.0 or v4.16.0.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.9 | Medium | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0013, the 2nd percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 28 Oct 2026, 20:14 UTC Confirmed by the CVE List
- 28 Oct 2026, 21:16 UTC Confirmed by NVD
- 31 Oct 2026, 14:11 UTC First seen by agentprime
- 31 Oct 2026, 14:11 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-2ffq-g2xg-c22p
- OSV: GHSA-2ffq-g2xg-c22p
- github.com/labstack/echo/security/advisories/GHSA-2ffq-g2xg-c22p
- github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1
- github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
- github.com/labstack/echo
- github.com/labstack/echo/releases/tag/v4.16.0
- github.com/labstack/echo/releases/tag/v5.4.0