CVE-2026-54272
ip-address: Misclassification of IPv4-mapped/NAT64 IPv6 addresses can bypass SSRF and trust-boundary checks
Also known as GHSA-22jq-vg5j-6vgg
Mitigation
- Upgrade ip-address to 10.2.1 or later.
Who should check
- Projects that depend on npm package ip-address (>= 10.1.1, < 10.2.1)
- Anyone running beaugunderson ip-address >= 10.1.1, < 10.2.1
Vulnerability facts
- Affected
- ip-address >= 10.1.1, < 10.2.1
- Fixed in
- 10.2.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: High
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.43% chance of exploitation in 30 days (percentile 29, 2026-11-26)
- CWE
- CWE-20, CWE-918
- Modified
Description
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Versions 10.1.1 through 10.2.0 are vulnerable to SSRF through misclassification of IPv4-mapped/NAT64 IPv6 addresses. Address6.getType() classifies an address by matching it against a table of known IPv6 special-use prefixes, returning Global unicast when nothing matches. That table had no entry for the IPv4-mapped range (::ffff:0:0/96), so every mapped address fell through to Global unicast; NAT64 addresses matched their own NAT64 … labels. The boolean checks isLoopback, isUnspecified, and isMulticast compared getType() against a fixed label and so returned false, while isLinkLocal and isULA checked only the native IPv6 ranges. The library already exposed isMapped4() and to4(), but did not apply them inside these checks, so a mapped or NAT64 address was never normalized to its embedded IPv4 address before classification. For IPv4-mapped addresses the host OS routes to the IPv4 stack, so the misclassification is reachable on any dual-stack host. For NAT64, the classification bypass is unconditional but end-to-end reachability additionally requires a NAT64/DNS64 gateway in the deployment network.This issue has been fixed in version 10.2.1.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm ip-address | >= 10.1.1, < 10.2.1 | 10.2.1 | osv |
| beaugunderson ip-address | >= 10.1.1, < 10.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-54272. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54272.md Affected: ip-address >= 10.1.1, < 10.2.1 Fixed in: 10.2.1 Steps: 1. Search this machine and project for ip-address (npm), beaugunderson ip-address: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-54272 being exploited?
There is no confirmed exploitation: CVE-2026-54272 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54272?
Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-54272?
ip-address >= 10.1.1, < 10.2.1.
Is there a fix for CVE-2026-54272?
Yes. Fixed in 10.2.1. Upgrade ip-address to 10.2.1 or later.
How do I check if I'm affected by CVE-2026-54272?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.