p PatchFirst

CVE-2026-54272

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • ip-address

    Versions
    • >= 10.1.1, < 10.2.1: Affected

    No fix published

  • node-ip-address Debian:14

    Versions
    • 10.2.0-1
    • 10.2.0-2
    • 8.1.0-2
    • 8.1.0-3
    Affected ranges
    • ECOSYSTEM: < 10.3.1-1

    Update to 10.3.1-1

  • ip-address npm

    Affected ranges
    • SEMVER: ≥ 10.1.1, < 10.2.1

    Update to 10.2.1

  • node-ip-address Ubuntu:20.04:LTS

    Versions
    • 6.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-ip-address Ubuntu:22.04:LTS

    Versions
    • 6.4.0-1
    • 8.1.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-ip-address Ubuntu:24.04:LTS

    Versions
    • 8.1.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-ip-address Ubuntu:26.10

    Versions
    • 8.1.0-3
    • 10.2.0-2
    • 10.3.1-1
    • 10.4.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-ip-address Ubuntu:26.04:LTS

    Versions
    • 8.1.0-2
    • 8.1.0-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →