VDB
Sign up
MEDIUM5.3

GO-2026-6875

Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default in github.com/labstack/echo

Quick fix

GO-2026-6875 — github.com/labstack/echo/v5: upgrade to the fixed version with the command below.

go get github.com/labstack/echo/v5@v5.4.0

Details

Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default in github.com/labstack/echo

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/labstack/echo/v4
Introduced in: 4.0.0

No fixed version published yet for github.com/labstack/echo/v4 (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/labstack/echo/v5
Introduced in: 0Fixed in: 5.4.0
Fixgo get github.com/labstack/echo/v5@v5.4.0

References