THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-h53f-rm2w-w7rg (medium) — Echo: X-Real-IP extractor trusts the header value instead of the sending peer

[GHSA] GHSA-h53f-rm2w-w7rg (medium) — Echo: X-Real-IP extractor trusts the header value instead of the sending peer

highgithub_advisoriesPublished 2026-10-23

GHSA-h53f-rm2w-w7rg Severity: medium CVE: None

Echo: X-Real-IP extractor trusts the header value instead of the sending peer

## Impact

In Echo v5, `ExtractIPFromRealIPHeader` checked whether the address supplied in `X-Real-IP` belonged to a trusted range instead of checking the address of the direct network peer. An untrusted client could therefore supply a loopback or private address and have

Indicators of compromise

Original source: https://github.com/advisories/GHSA-h53f-rm2w-w7rg