IP Spoofing Vulnerability in Echo Web Framework Affects Labstack
CVE-2026-118265
5.3MEDIUM
What is CVE-2026-118265?
The Echo web framework by Labstack has a vulnerability affecting versions 5.0.0 to 5.4.0, where the ExtractIPFromRealIPHeader function does not properly validate the X-Real-IP header. This flaw permits attackers to spoof their IP address, potentially compromising security mechanisms that rely on IP address validation, such as rate limiting and access controls. The vulnerability is addressed in version 5.4.1, which ensures that the server validates the network peer directly rather than trusting the client-supplied header.
Affected Version(s)
echo >= 5.0.0, < 5.4.1
