Vulnerability
CVE-2026-69198
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. From 10.1.1 until 10.2.2, every special-use classification method is built on isInSubnet, which short-circuits to false whenever the address's own subnet mask is shorter than the reference range's mask. That mask comes verbatim from the CIDR suffix on the parsed input, so appending a suffix such as /0 suppresses classification entirely: isLoopback(), isPrivate(), isLinkLocal(), isCGNAT(), isMulticast(), isUnspecified(), isBroadcast(), isULA(), and getType() all report an internal address as unremarkable, while correctForm() and address still return the real internal target. An application that builds a network trust-boundary decision on these checks, for example a filter intended to block Server-Side Request Forgery, or SSRF, may therefore treat an internal target as external and allow the request. The underlying bit comparison is correct, and mask(n) already returns the first n bits of the full parsed address independently of subnetMask; the defect is solely that the containment guard sits in the classification path. This issue is fixed in version 10.2.2.
87 advisories report this vulnerability, across 6 ecosystems.
Advisories in Wolfi
- CGA-2hj8-75w2-5gjg
- CGA-2m6c-7rmj-ggrj
- CGA-2x6m-293x-7grw
- CGA-4797-cprq-2q72
- CGA-4p3j-mwgx-3j7g
- CGA-5p75-3243-jr9h
- CGA-5qrg-p6hq-jcm3
- CGA-6v87-83pf-q57v
- CGA-7cwc-hfww-crpm
- CGA-7pjv-fw3x-75qf
- CGA-83v7-mcm4-8978
- CGA-8cg5-6cr2-2392
- CGA-8cwq-jh3f-jr6g
- CGA-9h34-8cq6-f5wq
- CGA-cr23-6425-w97f
- CGA-fjmj-jp52-cj4v
- CGA-g42v-8gwp-3vv3
- CGA-g88v-fmq8-6424
- CGA-gxc7-pm9g-m2v7
- CGA-hgqr-fp34-pr6f
- CGA-jx4p-j4h3-mgc7
- CGA-m7wx-p2j5-jxcc
- CGA-mfgq-v6hv-pwgf
- CGA-p6v4-3rg6-wvfq
- CGA-pm6r-r8gv-4m38
- CGA-ppqq-m382-qv6r
- CGA-qx88-8qhj-cfh5
- CGA-rwfp-9rwp-c59m
- CGA-vvh7-4w3r-6f3m
- CGA-w7r7-6hh6-4r92
- CGA-wq3w-v4p9-4659