# 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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/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.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-28T17:48:06.990Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-j6r3-76f7-8jcv
- Weaknesses: CWE-697, CWE-843
- 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. 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.

(As written by CVE List.)

## Affected

- beaugunderson ip-address: < 10.7.1
- ip-address (npm): before 10.7.1

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/beaugunderson/ip-address/security/advisories/GHSA-j6r3-76f7-8jcv> (exploit, web)
- <https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28> (web)
- <https://github.com/beaugunderson/ip-address/releases/tag/v10.7.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-101912> (advisory)
- <https://github.com/beaugunderson/ip-address> (package)

## Sources

- CVE List: [CVE-2026-101912](https://www.cve.org/CVERecord?id=CVE-2026-101912), CVE Terms of Use, modified 2026-09-28
- GitHub Advisory Database: [GHSA-j6r3-76f7-8jcv](https://github.com/advisories/GHSA-j6r3-76f7-8jcv), CC-BY-4.0, modified 2026-09-30
- NVD: [CVE-2026-101912](https://nvd.nist.gov/vuln/detail/CVE-2026-101912), Public domain, modified 2026-09-30

---

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