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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-27T17:13:09.244Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-22jq-vg5j-6vgg
- Weaknesses: CWE-20, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- beaugunderson ip-address: >= 10.1.1, < 10.2.1
- ip-address (npm): from 10.1.1 before 10.2.1

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/beaugunderson/ip-address/security/advisories/GHSA-22jq-vg5j-6vgg> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54272> (advisory)
- <https://github.com/beaugunderson/ip-address/commit/4a1f613f4c1bec915677dea923c10aaa09361ef9> (web)
- <https://github.com/beaugunderson/ip-address> (package)
- <https://github.com/beaugunderson/ip-address/releases/tag/v10.2.1> (web)

## Sources

- CVE List: [CVE-2026-54272](https://www.cve.org/CVERecord?id=CVE-2026-54272), CVE Terms of Use, modified 2026-07-27
- GitHub Advisory Database: [GHSA-22jq-vg5j-6vgg](https://github.com/advisories/GHSA-22jq-vg5j-6vgg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54272](https://nvd.nist.gov/vuln/detail/CVE-2026-54272), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-54272 · Whole record: https://cve.day/CVE-2026-54272.json · Rebuilt by cve.day 2026-11-25T22:59:30.221Z
