Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-69198: CWE-20: Improper Input Validation in beaugunderson ip-address

0
Medium
VulnerabilityCVE-2026-69198cvecve-2026-69198cwe-20cwe-918
Published: 08/03/2026 (08/03/2026, 19:59:05 UTC)
Source: CVE Database V5
Vendor/Project: beaugunderson
Product: ip-address

Description

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

ip-address
pkg:npm/ip-address
Affected versions
>=10.1.1 <10.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 20:36:16 UTC

Technical Analysis

The ip-address library for JavaScript, used for parsing and manipulating IPv4 and IPv6 addresses, has a vulnerability in versions 10.1.1 through 10.2.1 where all special-use classification methods rely on the isInSubnet function. This function short-circuits to false if the address's subnet mask is shorter than the reference range's mask, which can be manipulated by appending a CIDR suffix such as /0. Consequently, methods like isLoopback(), isPrivate(), and others incorrectly report internal addresses as external. This can cause applications relying on these checks for network trust-boundary decisions, such as SSRF filters, to mistakenly allow requests to internal addresses. The underlying bit comparison logic is correct, but the containment guard in the classification path is flawed. The vulnerability is resolved in version 10.2.2.

Potential Impact

Applications using affected versions of the ip-address library may incorrectly classify internal IP addresses as external, potentially allowing unauthorized access or bypassing security controls such as SSRF filters. This misclassification could lead to sensitive internal resources being exposed or accessed by attackers. There are no known exploits in the wild at this time.

Mitigation Recommendations

A fix is available in ip-address version 10.2.2. Users should upgrade to version 10.2.2 or later to resolve this vulnerability. Since the vendor advisory does not provide additional remediation details, upgrading to the fixed version is the recommended action.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-03T16:57:50.124Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a70f79fbf32cb7a3424827d

Added to database: 08/03/2026, 20:18:39 UTC

Last enriched: 08/03/2026, 20:36:16 UTC

Last updated: 08/03/2026, 21:18:55 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses