CVE-2026-101912
Severity not reportedip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript.
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.
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f2... security-advisories@github.com
- https://github.com/beaugunderson/ip-address/releases/tag/v10.7.1 security-advisories@github.com
- https://github.com/beaugunderson/ip-address/security/advisories/GHSA-j6r3-76f7-8jcv security-advisories@github.com
- https://github.com/beaugunderson/ip-address/security/advisories/GHSA-j6r3-76f7-8jcv 134c704f-9b21-4f2e-91b3-4a467353bcc0
