CVE-2025-65328 Security feature bypass in n/a

Medium 6.5 Published Updated

Attackers can spoof client IP addresses via X-Forwarded-For headers to bypass IP-based security controls in Mega-Fence deployments relying on this value.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-65328?

CVE-2025-65328 is a medium-severity vulnerability in n/a, published on 5 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-807

Which versions are affected by CVE-2025-65328?

It affects 1 product.

Products include Mega-Fence Project Mega-Fence.

How do I fix CVE-2025-65328?

No fix has been published for CVE-2025-65328 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-65328 being exploited?

There is no known exploitation of CVE-2025-65328 in the wild and no public exploit code.

Sources

Also known as GHSA-6gh2-xjvw-7rh4.

Is CVE-2025-65328 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free