Server-side Request Forgery (SSRF) Affecting ip-address package, versions >=10.1.1 <10.2.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-IPADDRESS-18516625
  • published4 Aug 2026
  • disclosed3 Aug 2026
  • creditGlitchless

Introduced: 3 Aug 2026

NewCVE-2026-69198  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade ip-address to version 10.2.2 or higher.

Overview

ip-address is an A library for parsing IPv4 and IPv6 IP addresses in node and the browser.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the isInSubnet function. An attacker can bypass network trust-boundary checks by appending a CIDR suffix with a shorter prefix (such as /0) to an internal address, causing classification methods to incorrectly treat internal addresses as external. This allows requests to internal resources to be permitted when they should be blocked.

Note: This is only exploitable if an application accepts a bare address string with a CIDR suffix and passes it directly to the constructor before classification, such as in allow/deny fields, webhook targets, or proxy destinations taken as plain hosts rather than parsed from a URL.

Workaround

This vulnerability can be mitigated by stripping the CIDR suffix from the address before classification, for example by re-parsing the address without the suffix.

CVSS Base Scores

version 4.0
version 3.1