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

- Database: Go
- Published: 2026-11-05
- Modified: 2026-11-24

## Tracked as

- [CVE-2026-118651](https://cve.now/CVE-2026-118651.md): Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default

## Also published as

- [GHSA-99JH-6H7P-PP36](https://cve.now/GHSA-99JH-6H7P-PP36.md) (GitHub)

## Affected versions

- github.com/labstack/echo/v4 (Go): from 4.0.0, fixed in 4.16.3
- github.com/labstack/echo/v5 (Go): fixed in 5.4.0

## Description

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

## References

- https://github.com/labstack/echo/security/advisories/GHSA-99jh-6h7p-pp36
- https://github.com/labstack/echo/commit/ebbb855f5827b76fb206e267dd91d020000baf66
- https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
- https://github.com/labstack/echo/releases/tag/v4.16.3
- https://github.com/labstack/echo/releases/tag/v5.4.0

Page: https://cve.now/GO-2026-6875

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
