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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-20, CWE-918
- **Aliases:** GHSA-22jq-vg5j-6vgg
- **Published:** 2026-07-27T17:13:09.244Z
- **Modified:** 2026-10-24T13:10:00.147Z

## 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

## 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

- npm `ip-address`: affected \>= 10.1.1, \< 10.2.1; fixed 10.2.1 (osv)
- beaugunderson ip-address: \>= 10.1.1, \< 10.2.1 (cvelist)

## Mitigation

- Upgrade ip-address to 10.2.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

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

## References

- vendor: <https://github.com/beaugunderson/ip-address/security/advisories/GHSA-22jq-vg5j-6vgg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-54272>
- patch: <https://github.com/beaugunderson/ip-address/commit/4a1f613f4c1bec915677dea923c10aaa09361ef9>
- other: <https://github.com/beaugunderson/ip-address>
- other: <https://github.com/beaugunderson/ip-address/releases/tag/v10.2.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54272>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-22jq-vg5j-6vgg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54272> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54272>
