Mega-Fence (webgate-lib.*) 25.1.914 and prior trusts the...
Moderate severity
Unreviewed
Published
Jan 5, 2026
to the GitHub Advisory Database
•
Updated Jan 5, 2026
Description
Published by the National Vulnerability Database
Jan 5, 2026
Published to the GitHub Advisory Database
Jan 5, 2026
Last updated
Jan 5, 2026
Mega-Fence (webgate-lib.*) 25.1.914 and prior trusts the first value of the X-Forwarded-For (XFF) header as the client IP without validating a trusted proxy chain. An attacker can supply an arbitrary XFF value in a remote request to spoof the client IP, which is then propagated to security-relevant state (e.g., WG_CLIENT_IP cookie). Deployments that rely on this value for IP allowlists may be bypassed.
References