Live threats

All CVEs / Mega-fence Project

CVE-2025-65328Mega-fence Project Mega-fence

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Jan 5, 2026
Updated
Nov 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-807
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mega-fence.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
mega-fence_projectmega-fence≤ 25.1.914

Official sources

References

Links published by the sources. Open them with care.