CVE-2026-54272 ip-address: Misclassification of IPv4-mapped/NAT64 IPv6 addresses can bypass SSRF and trust-boundary checks

Medium 6.9 Published Updated

Attackers can bypass SSRF protections by using IPv4-mapped or NAT64 IPv6 addresses that are misclassified as global unicast in the ip-address library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-54272?

CVE-2026-54272 is a medium-severity server-side request forgery vulnerability in beaugunderson ip-address, published on 27 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-918, CWE-20

Which versions are affected by CVE-2026-54272?

2 open source packages ship an affected version, including ip-address.

PackageAffectedFixed in
ip-address npmFrom 10.1.110.2.1
ip-address npmFrom 10.1.110.2.1
Linux distribution packages (2)
nodejs24 openSUSE:TumbleweedAll versions24.21.0-1.1
nodejs26 openSUSE:TumbleweedAll versions26.7.0-1.1

How do I fix CVE-2026-54272?

Upgrade ip-address to 10.2.1 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-54272 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54272 exists.

Sources

Also known as CLEANSTART-2026-HB04521, CLSA-2026-1792486210, DEBIAN-CVE-2026-54272, ECHO-0a7a-b116-fb6d, GHSA-22jq-vg5j-6vgg, MINI-3642-g93c-2vff and 23 more.

Is CVE-2026-54272 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free