CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2026-101912

Description

A flaw was found in the ip-address library. This vulnerability allows a remote attacker to bypass security restrictions, such as Internet Protocol (IP) allowlists or denylists. The library's subnet containment checks fail to verify whether the compared addresses belong to the same address family, comparing IPv4 and IPv6 addresses as if they shared an address space. As a result, an attacker can provide an address from a different IP family with matching leading bits, causing an unauthorized address outside the intended range to be treated as valid.

Statement

A flaw of moderate severity was found in the ip-address JavaScript library, which is bundled as a dependency in the grafana components shipped in Red Hat Hardened Images (Hummingbird). The library's isInSubnet() and isHostInSubnet() methods compare masked binary representations of addresses without first verifying that both operands belong to the same IP address family. Because IPv4 and IPv6 addresses do not share an address space but are padded to their family width before comparison, a cross-family check whose leading bits match evaluates as equal; an IPv4 address can be reported as contained in an IPv6 subnet and vice versa. A remote attacker who can supply an address that an application evaluates with these methods can provide an address from the other address family with matching leading bits so that an unauthorized address outside the intended range is treated as contained, bypassing IP-based allowlist or denylist security restrictions. The impact is limited to the integrity of the access-control decision, with no direct impact on confidentiality or availability; Red Hat rates this flaw as Moderate, consistent with the upstream severity rating. The affected Red Hat Hardened Images grafana components carry a delegated resolution under which the responsible business unit determined that the vulnerable code is not present in the shipped products, so these products are assessed as not affected.

Mitigation

Upgrading the bundled ip-address dependency to the upstream patched release 10.7.1 or later resolves the issue: in the fixed release, isHostInSubnet() returns false when the two addresses belong to different address families and isInSubnet() inherits that result. For applications that cannot upgrade immediately, the upstream advisory documents a workaround of comparing the address classes before performing the containment check, for example: const contained = host.constructor === network.constructor && host.isInSubnet(network);. A caller that intentionally needs to compare across address families should convert the address first, for example with Address6.fromAddress4(), to4(), or toAddress4Nat64().

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.3N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredNoneN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactLowN/AN/A
Availability ImpactNoneN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Frequently Asked Questions

Want to get errata notifications? Sign up here.