nodejs — security advisory
A flaw in Node.js TLS hostname verification can cause a server certificate to be validated against a different IP address than the one the client connected to, when the host is a non-canonical IPv4 literal with a leading zero, such as `0127.0.0.1`. `tls.checkServerIdentity()` normalizes the host following the WHATWG URL rules, which read a leading-zero octet as octal (`0127.0.0.1` becomes `87.0.0.1`), while the connection is made through the operating system resolver, which on some platforms such as macOS reads it as decimal (`127.0.0.1`). A server at the connected address can then be authenticated with a certificate issued for another IP address. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.
- Products
- nodejs
- Affected versions
- Not specified
- Fixed versions
- 22.23.4-r0, 24.22.1-r0
- CVEs
- CVE-2026-106069
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:03 UTC · Revision 1
Source evidence
A flaw in Node.js TLS hostname verification can cause a server certificate to be validated against a different IP address than the one the client connected to, when the host is a non-canonical IPv4 literal with a leading zero, such as `0127.0.0.1`. `tls.checkServerIdentity()` normalizes the host following the WHATWG URL rules, which read a leading-zero octet as octal (`0127.0.0.1` becomes `87.0.0.1`), while the connection is made through the operating system resolver, which on some platforms such as macOS reads it as decimal (`127.0.0.1`). A server at the connected address can then be authenticated with a certificate issued for another IP address. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.
osv:ALPINE-CVE-2026-106069
nodejs
Fixed versions: 22.23.4-r0
nodejs
Fixed versions: 22.23.4-r0
nodejs
Fixed versions: 24.22.1-r0
nodejs
Fixed versions: 24.22.1-r0
Complete source record
{
"id": "d30f0992609b30291bf2374bc411569cf16b5f205bfd527352240c3595397dde",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2026-106069",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2026-106069",
"summary": "A flaw in Node.js TLS hostname verification can cause a server certificate to be validated against a different IP address than the one the client connected to, when the host is a non-canonical IPv4 literal with a leading zero, such as `0127.0.0.1`. `tls.checkServerIdentity()` normalizes the host following the WHATWG URL rules, which read a leading-zero octet as octal (`0127.0.0.1` becomes `87.0.0.1`), while the connection is made through the operating system resolver, which on some platforms such as macOS reads it as decimal (`127.0.0.1`). A server at the connected address can then be authenticated with a certificate issued for another IP address. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.",
"evidence": "osv:ALPINE-CVE-2026-106069",
"products": [
{
"name": {
"value": "nodejs",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "22.23.4-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nodejs",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "22.23.4-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nodejs",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "24.22.1-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nodejs",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "24.22.1-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "ALPINE-CVE-2026-106069",
"aliases": [
"ALPINE-CVE-2026-106069"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "22.23.4-r0"
}
]
}
],
"package": {
"name": "nodejs",
"purl": "pkg:apk/alpine/nodejs?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-106069.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "22.23.4-r0"
}
]
}
],
"package": {
"name": "nodejs",
"purl": "pkg:apk/alpine/nodejs?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-106069.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "24.22.1-r0"
}
]
}
],
"package": {
"name": "nodejs",
"purl": "pkg:apk/alpine/nodejs?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-106069.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "24.22.1-r0"
}
]
}
],
"package": {
"name": "nodejs",
"purl": "pkg:apk/alpine/nodejs?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-106069.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-24T09:30:02.690266164Z",
"provider": "osv",
"upstream": [
"CVE-2026-106069"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2026-106069"
]
},
"related_cves": [
{
"value": "CVE-2026-106069",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 428927,
"published_at": "2026-10-23T17:17:19.74+00:00"
}