p PatchFirst

CVE-2026-101912

CVE-2026-101912 · ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range

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. Prior to 10.7.1, the isInSubnet and isHostInSubnet methods in src/common.ts compare masked binary strings without validating that both operands use the same IP family. A cross-family containment check whose leading address bits match makes the masked strings compare equal even though IPv4 and IPv6 do not share an address space. An allowlist or denylist decision can therefore classify an address outside the intended range as contained. This issue is fixed in version 10.7.1.

CVSS 6.3 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • ip-address

    Versions
    • < 10.7.1: Affected

    No fix published

  • node-ip-address Debian:12

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

    No fix published

  • node-ip-address Debian:13

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

    No fix published

  • node-ip-address Debian:14

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

    Update to 10.7.2-1

  • ip-address npm

    Affected ranges
    • SEMVER: < 10.7.1

    Update to 10.7.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 →