Description
Echo is a Go web framework. From 4.0.0 until 5.4.0, the Proxy middleware can preserve an attacker-supplied X-Real-IP header and forward it to an upstream service when Echo.IPExtractor is not configured. A remote client can therefore make upstream services receive a spoofed client address, undermining IP-based access controls, rate limiting, audit logging, or geographic restrictions that trust Echo's forwarded identity. This issue is fixed in Echo 5.4.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| labstack | echo | >= 4.0.0, < 5.4.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-labstack-echo | No fix yet | — |
| Debian 13 | golang-github-labstack-echo | No fix yet | — |
| Debian 12 | golang-github-labstack-echo | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-labstack-echo | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-labstack-echo | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-labstack-echo | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-labstack-echo +2 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-github-labstack-echo.v2 +1 | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | temporal | 1.10.1-r0 | — |
| Wolfi rolling | temporal-ui-server +1 | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/labstack/echo/v4 | >= 4.0.0, <= 4.16.2 | — | GHSA-99jh-6h7p-pp36 |
| Go | github.com/labstack/echo/v4 | >= 4.0.0 | — | GO-2026-6875 |
| Go | github.com/labstack/echo/v5 | < 5.4.0 | 5.4.0 | GHSA-99jh-6h7p-pp36 |