CVE-2025-65328: Mega-Fence Project Mega-Fence

Medium severity, CVSS 6.5. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Affected products

Published 2026-01-05. Last modified 2026-06-17.