Incorrect Comparison in ip-address - #VU150200
Published: September 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass IP address allowlist restrictions.
The vulnerability exists due to incorrect comparison in the isInSubnet() and isHostInSubnet() functions when comparing IPv4 and IPv6 addresses. A remote attacker can provide an address from a different address family with matching leading bits to bypass IP address allowlist restrictions.
Exploitation requires an application to parse untrusted input as either address family and compare it against a fixed-family allowlist.