CVE-2025-65328: Mega-Fence · CVE-2025-65328 is a medium severity
Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
Organizations should implement strict validation of the X-Forwarded-For header by verifying that the request has passed through trusted proxies before trusting the client IP value. This can be achieved by configuring Mega-Fence or the web server to only accept XFF headers from known proxy IP addresses. Additionally, consider using alternative methods for client identification, such as mutual TLS or token-based authentication, rather than relying solely on IP allowlists. Network-level protections like Web Application Firewalls (WAFs) can be configured to detect and block suspicious or malformed XFF headers. Regularly update Mega-Fence to the latest version once a patch is released. Finally, audit and monitor logs for anomalies in client IP addresses and review access control policies to reduce reliance on IP-based filtering alone.
Description
CVE-2025-65328 is a medium severity vulnerability in Mega-Fence (webgate-lib. *) versions 25.1.914 and earlier, where the software trusts the first value of the X-Forwarded-For (XFF) HTTP header as the client IP without validating the proxy chain. This allows an attacker to spoof the client IP address by supplying an arbitrary XFF value, potentially bypassing IP-based allowlists and affecting security controls that rely on client IP identification. The vulnerability does not require authentication or user interaction and has a CVSS score of 6.5. While no known exploits are currently reported in the wild, organizations relying on IP-based filtering for access control are at risk. European organizations using affected versions of Mega-Fence should prioritize validation of proxy headers and consider additional network-level protections. Countries with significant deployments of Mega-Fence or critical infrastructure relying on IP allowlists are most likely to be impacted.