{"id":"CVE-2026-69198","published":"2026-08-03T19:59:05Z","modified":"2026-08-04T17:21:59Z","title":"ip-address: a CIDR suffix on the parsed address suppresses special-use classification and can bypass SSRF and…","vendor":"beaugunderson","product":"ip-address","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0048,"percentile":0.42337,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/beaugunderson/ip-address/security/advisories/GHSA-4xrf-jv44-h6hh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/beaugunderson/ip-address/commit/488fe9bc7c35363b4b090494fc38c266d217740d","tags":["x_refsource_MISC"]},{"url":"https://github.com/beaugunderson/ip-address/releases/tag/v10.2.2","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":8.47},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"beaugunderson","affectedVersions":[{"vendor":"beaugunderson","product":"ip-address","versions":[">= 10.1.1, < 10.2.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-04T17:21:32.083041Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ip-address","vulnerableRanges":[">=10.1.1, <10.2.2"],"patched":["10.2.2"],"from":["GHSA-4xrf-jv44-h6hh"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-52422","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-beaugunderson-ip-address-cve-2026-69192","children":[{"from":"CVE-2026-69198","to":"CVE-2026-69192","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ip-address","fromFixed":"10.2.2","toFixed":"10.3.1","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/ipv4.ts"],"commits":["https://github.com/beaugunderson/ip-address/commit/56368cb3d66c73ba0ee9b6b834fd31b22c2fd71e","https://github.com/beaugunderson/ip-address/commit/488fe9bc7c35363b4b090494fc38c266d217740d"],"basis":"shared function","functions":["Address4"]}]},{"from":"CVE-2026-69198","to":"CVE-2026-101911","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ipv4.ts"],"commits":["https://github.com/beaugunderson/ip-address/commit/469ead1231b4cc059f2150c626e1e0c2895c0134","https://github.com/beaugunderson/ip-address/commit/8b34a21e0839b37c094066816fb2c2c48a2adcf5","https://github.com/beaugunderson/ip-address/commit/488fe9bc7c35363b4b090494fc38c266d217740d"],"basis":"shared function","functions":["Address4"]}]},{"from":"CVE-2026-69198","to":"CVE-2026-101912","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/common.ts","src/ipv4.ts"],"commits":["https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28","https://github.com/beaugunderson/ip-address/commit/488fe9bc7c35363b4b090494fc38c266d217740d"],"basis":"shared function","functions":["Address4"]}]}],"packageHistory":[{"cve":"CVE-2026-42338","published":"2026-05-12","fixed":"10.1.1","kev":false},{"cve":"CVE-2026-54272","published":"2026-07-27","fixed":"10.2.1","kev":false,"link":{"from":"CVE-2026-54272","to":"CVE-2026-69198","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ip-address","fromFixed":"10.2.1","toFixed":"10.2.2","daysApart":7},{"kind":"same-code","provenance":"machine","files":["src/ipv6.ts"],"commits":["https://github.com/beaugunderson/ip-address/commit/4a1f613f4c1bec915677dea923c10aaa09361ef9","https://github.com/beaugunderson/ip-address/commit/488fe9bc7c35363b4b090494fc38c266d217740d"],"basis":"shared file"}]}},{"cve":"CVE-2026-69198","published":"2026-08-03","fixed":"10.2.2","kev":false},{"cve":"CVE-2026-69192","published":"2026-08-03","fixed":"10.3.1","kev":false},{"cve":"CVE-2026-101910","published":"2026-09-28","fixed":"10.5.1","kev":false},{"cve":"CVE-2026-101913","published":"2026-09-28","fixed":"10.5.1","kev":false}],"package":"npm:ip-address"}}