{"id":"CVE-2026-69198","summary":"ip-address: a CIDR suffix on the parsed address suppresses special-use classification and can bypass SSRF and trust-boundary checks","details":"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.","aliases":["GHSA-4xrf-jv44-h6hh"],"modified":"2026-08-07T11:51:33.006749164Z","published":"2026-08-03T19:59:05.731Z","related":["CGA-2cm6-q4c4-8mch"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20","CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69198.json"},"references":[{"type":"WEB","url":"https://github.com/beaugunderson/ip-address/releases/tag/v10.2.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69198.json"},{"type":"ADVISORY","url":"https://github.com/beaugunderson/ip-address/security/advisories/GHSA-4xrf-jv44-h6hh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69198"},{"type":"FIX","url":"https://github.com/beaugunderson/ip-address/commit/488fe9bc7c35363b4b090494fc38c266d217740d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/beaugunderson/ip-address","events":[{"introduced":"c3fcb1fd1b093ffca343280e134a73ab413ad068"},{"fixed":"488fe9bc7c35363b4b090494fc38c266d217740d"},{"fixed":"f7314db5dd313c211bdc9036901bb67e9b6eafdd"}],"database_specific":{"extracted_events":[{"introduced":"10.1.1"},{"fixed":"10.2.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v10.2.1","v10.2.0","v10.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-69198.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N"}]}