node-nodemailer — security advisory
Nodemailer versions 5.0.0 through 10.0.1 use a process-global DNS cache that is keyed only by the DNS host, while each cache entry also stores the caller-specific TLS servername. When two direct TLS/SMTPS transports (secure: true) resolve the same non-IP host with different tls.servername values, the first transport's servername is returned on the cache hit and overwrites the second transport's explicitly configured value, so Nodemailer sends the wrong SNI value and validates the peer certificate against the wrong identity. In multi-tenant services or SNI-routed SMTP gateways, an attacker who can prime the cache can cause a victim transport to connect to the attacker's TLS virtual host and accept the attacker's certificate even with rejectUnauthorized: true, disclosing the victim's SMTP credentials. Fixed in 10.0.2.
- Products
- node-nodemailer
- Affected versions
- 6.3.0-2, 6.3.1-1, 6.4.0-1, 6.4.1-1, 6.4.17-3, 6.4.2-1, 6.4.5-1, 6.7.0-1, 6.7.0-2, 6.7.1+~6.4.4-1, 6.9.4+~6.4.9-2, 6.9.4+~6.4.9-3ubuntu1, 6.9.4+~6.4.9-4, 7.0.10+~7.0.2-1, 7.0.12+~7.0.5-1, 7.0.5+~7.0.1-1, 7.0.9+~7.0.2-2, 8.0.4+~7.0.11-1, 8.0.4+~7.0.11-2, 9.0.0+~8.0.1-1, 9.0.3+~8.0.1-1, 9.0.5+~8.0.1-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-100701
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:53 UTC · Revision 1
Source evidence
Nodemailer versions 5.0.0 through 10.0.1 use a process-global DNS cache that is keyed only by the DNS host, while each cache entry also stores the caller-specific TLS servername. When two direct TLS/SMTPS transports (secure: true) resolve the same non-IP host with different tls.servername values, the first transport's servername is returned on the cache hit and overwrites the second transport's explicitly configured value, so Nodemailer sends the wrong SNI value and validates the peer certificate against the wrong identity. In multi-tenant services or SNI-routed SMTP gateways, an attacker who can prime the cache can cause a victim transport to connect to the attacker's TLS virtual host and accept the attacker's certificate even with rejectUnauthorized: true, disclosing the victim's SMTP credentials. Fixed in 10.0.2.
osv:UBUNTU-CVE-2026-100701
node-nodemailer
Fixed versions: Not specified
node-nodemailer
Fixed versions: Not specified
node-nodemailer
Fixed versions: Not specified
node-nodemailer
Fixed versions: Not specified
node-nodemailer
Fixed versions: Not specified
Complete source record
{
"id": "6afe6340bf28f8d05ef47f50cb0cea20dd52e557c6c731ea1945817b91be115d",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-100701",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-100701",
"summary": "Nodemailer versions 5.0.0 through 10.0.1 use a process-global DNS cache that is keyed only by the DNS host, while each cache entry also stores the caller-specific TLS servername. When two direct TLS/SMTPS transports (secure: true) resolve the same non-IP host with different tls.servername values, the first transport's servername is returned on the cache hit and overwrites the second transport's explicitly configured value, so Nodemailer sends the wrong SNI value and validates the peer certificate against the wrong identity. In multi-tenant services or SNI-routed SMTP gateways, an attacker who can prime the cache can cause a victim transport to connect to the attacker's TLS virtual host and accept the attacker's certificate even with rejectUnauthorized: true, disclosing the victim's SMTP credentials. Fixed in 10.0.2.",
"evidence": "osv:UBUNTU-CVE-2026-100701",
"products": [
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.3.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "6.3.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.4.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.4.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.4.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.4.5-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.4.17-3",
"evidence": "/affected/1/versions"
},
{
"value": "6.7.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.7.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "6.7.1+~6.4.4-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.9.4+~6.4.9-2",
"evidence": "/affected/2/versions"
},
{
"value": "6.9.4+~6.4.9-3ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "6.9.4+~6.4.9-4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.0.4+~7.0.11-1",
"evidence": "/affected/3/versions"
},
{
"value": "8.0.4+~7.0.11-2",
"evidence": "/affected/3/versions"
},
{
"value": "9.0.0+~8.0.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "9.0.3+~8.0.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "9.0.5+~8.0.1-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.0.5+~7.0.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "7.0.9+~7.0.2-2",
"evidence": "/affected/4/versions"
},
{
"value": "7.0.10+~7.0.2-1",
"evidence": "/affected/4/versions"
},
{
"value": "7.0.12+~7.0.5-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.0.4+~7.0.11-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-100701",
"aliases": [
"UBUNTU-CVE-2026-100701"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"6.3.0-2",
"6.3.1-1",
"6.4.0-1",
"6.4.1-1",
"6.4.2-1",
"6.4.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100701.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "6.4.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"6.4.17-3",
"6.7.0-1",
"6.7.0-2",
"6.7.1+~6.4.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100701.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "6.7.1+~6.4.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"6.9.4+~6.4.9-2",
"6.9.4+~6.4.9-3ubuntu1",
"6.9.4+~6.4.9-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100701.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "6.9.4+~6.4.9-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"8.0.4+~7.0.11-1",
"8.0.4+~7.0.11-2",
"9.0.0+~8.0.1-1",
"9.0.3+~8.0.1-1",
"9.0.5+~8.0.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100701.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "9.0.5+~8.0.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"7.0.5+~7.0.1-1",
"7.0.9+~7.0.2-2",
"7.0.10+~7.0.2-1",
"7.0.12+~7.0.5-1",
"8.0.4+~7.0.11-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100701.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "8.0.4+~7.0.11-1"
}
]
}
}
],
"modified": "2026-10-17T12:59:42.183604766Z",
"provider": "osv",
"upstream": [
"CVE-2026-100701"
],
"references": [
"https://ubuntu.com/security/CVE-2026-100701",
"https://www.cve.org/CVERecord?id=CVE-2026-100701",
"https://github.com/nodemailer/nodemailer/security/advisories/GHSA-6vj9-mwq6-2f5v",
"https://www.vulncheck.com/advisories/nodemailer-5.0.0-through-10.0.1-tls-servername-cache-confusion"
]
},
"related_cves": [
{
"value": "CVE-2026-100701",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359718,
"published_at": "2026-09-26T14:16:00+00:00"
}