Skip to content

CVE-2026-101912 ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range

MediumCVSS 6.3 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Prior to 10.7.1, the isInSubnet and isHostInSubnet methods in src/common.ts compare masked binary strings without validating that both operands use the same IP family. A cross-family containment check whose leading address bits match makes the masked strings compare equal even though IPv4 and IPv6 do not share an address space. An allowlist or denylist decision can therefore classify an address outside the intended range as contained. This issue is fixed in version 10.7.1.

Upgrade path

9 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/node-ip-address(Debian 12) = 8.1.0-2; = 8.1.0-3; = 10.2.0-1; = 10.2.0-2 +4 more No fix listed No fix yet
debian/node-ip-address(Debian 13) = 8.1.0-2; = 8.1.0-3; = 10.2.0-1; = 10.2.0-2 +4 more No fix listed No fix yet
ubuntu/node-ip-address(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-ip-address(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/node-ip-address(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/node-ip-address(Ubuntu 26.10) All versions No fix listed No fix yet
debian/node-ip-address(Debian 14) < 10.7.2-1; = 8.1.0-2; = 8.1.0-3; = 10.2.0-1 +3 more 10.7.2-1 Fixed
npm ip-address(npm) < 10.7.1; <= 10.7.0 10.7.1 Fixed
beaugunderson ip-address = < 10.7.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
beaugunderson ip-address = < 10.7.1 No fix listed
debian/node-ip-address(Debian:12) All versions No fix listed
debian/node-ip-address(Debian:12) = 10.2.0-1 No fix listed
debian/node-ip-address(Debian:12) = 10.2.0-2 No fix listed
debian/node-ip-address(Debian:12) = 10.3.1-1 No fix listed
debian/node-ip-address(Debian:12) = 10.4.0-1 No fix listed
debian/node-ip-address(Debian:12) = 10.7.2-1 No fix listed
debian/node-ip-address(Debian:12) = 8.1.0-2 No fix listed
debian/node-ip-address(Debian:12) = 8.1.0-3 No fix listed
debian/node-ip-address(Debian:13) All versions No fix listed
debian/node-ip-address(Debian:13) = 10.2.0-1 No fix listed
debian/node-ip-address(Debian:13) = 10.2.0-2 No fix listed
debian/node-ip-address(Debian:13) = 10.3.1-1 No fix listed
debian/node-ip-address(Debian:13) = 10.4.0-1 No fix listed
debian/node-ip-address(Debian:13) = 10.7.2-1 No fix listed
debian/node-ip-address(Debian:13) = 8.1.0-2 No fix listed
debian/node-ip-address(Debian:13) = 8.1.0-3 No fix listed
debian/node-ip-address(Debian:14) < 10.7.2-1 10.7.2-1
debian/node-ip-address(Debian:14) = 10.2.0-1 No fix listed
debian/node-ip-address(Debian:14) = 10.2.0-2 No fix listed
debian/node-ip-address(Debian:14) = 10.3.1-1 No fix listed
debian/node-ip-address(Debian:14) = 10.4.0-1 No fix listed
debian/node-ip-address(Debian:14) = 8.1.0-2 No fix listed
debian/node-ip-address(Debian:14) = 8.1.0-3 No fix listed
npm ip-address(npm) <= 10.7.0 No fix listed
Show 5 more
ProductAffected versionsFixed in
ubuntu/node-ip-address(Ubuntu:22.04) All versions No fix listed
ubuntu/node-ip-address(Ubuntu:24.04) All versions No fix listed
ubuntu/node-ip-address(Ubuntu:26.04) All versions No fix listed
ubuntu/node-ip-address(Ubuntu:26.10) All versions No fix listed
npm ip-address(npm) < 10.7.1 10.7.1

References