# GO-2026-6872: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration in github.com/labstack/echo

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

## Tracked as

- [CVE-2026-118653](https://cve.now/CVE-2026-118653.md): Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration

## Also published as

- [GHSA-246P-CPWV-V3JQ](https://cve.now/GHSA-246P-CPWV-V3JQ.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.1.0

## Description

Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration in github.com/labstack/echo

## References

- https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq
- https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2
- https://github.com/labstack/echo/commit/ebbb855f5827b76fb206e267dd91d020000baf66
- https://github.com/labstack/echo/releases/tag/v4.16.3
- https://github.com/labstack/echo/releases/tag/v5.1.0

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

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