CVE-2025-65328Mega-fence Project Mega-fence
Medium 6.5 No auth needed
Follow: this CVE · Mega-fence Project · Mega-fence Project Mega-fence We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Mega-fence.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mega-fence_project | mega-fence | ≤ 25.1.914 |
Official sources
References
Links published by the sources. Open them with care.
- drive.proton.me Broken Link
- raw.githubusercontent.com Exploit Third Party Advisory