CVE-2026-82854
Nodemailer before 8.0.4 SMTP Command Injection via envelope.size
Nodemailer before 8.0.4 is vulnerable to SMTP command injection through the unsanitized envelope.size parameter. When an application passes a custom envelope object with a size property containing CRLF characters to sendMail(), the value is concatenated into the SMTP MAIL FROM command (as SIZE=...) without sanitization, allowing injection of arbitrary SMTP commands such as RCPT TO to silently add attacker-controlled recipients. Exploitation requires the application to expose the envelope size to attacker-controlled input, as Nodemailer does not include size in the default auto-constructed envelope.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.975% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 9.3 · published by VulnCheckCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:59:13.008Z
CVSS 3.1 · 9.8 · published by VulnCheckCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:59:13.008Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:13.008Z | CVE Program |
| epss | verified | 2026-11-19T18:27:28.916Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:32.558Z | OSV |
| affected | verified | 2026-11-19T12:59:13.008Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:13.008Z | CVE Program |
Affected versions and configuration
nodemailer nodemailer; default status: unaffected: 0 to < 8.0.4 [affected; scheme: semver]; 8.0.4 [unaffected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "nodemailer",
"product": "nodemailer",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "8.0.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "8.0.4",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/nodemailer",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-82854",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-08-31T16:46:43.285974Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-08-31T18:52:03.366Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-c7w3-x93f-qmm8",
"aliases": [
"CVE-2026-82854"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.0.4"
}
]
}
],
"package": {
"name": "nodemailer",
"purl": "pkg:npm/nodemailer",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-c7w3-x93f-qmm8/GHSA-c7w3-x93f-qmm8.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/nodemailer/nodemailer/security/advisories/GHSA-c7w3-x93f-qmm8",
"type": "WEB"
},
{
"url": "https://github.com/nodemailer/nodemailer/commit/2d7b9710e63555a1eb13d721296c51186d4b5651",
"type": "WEB"
},
{
"url": "https://github.com/nodemailer/nodemailer",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-93"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-03-26T22:26:46Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | nodemailer | Not a distribution channel | 8.0.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:32.558ZArchived source JSON
Source publication: 2026-03-26T22:26:46.000Z
Source modification: 2026-09-10T03:50:38.497ZDocument fingerprint
ca3a4a246d634521a55518908d51c8304fdc044f1a505c1425917fec53ef0734 - FIRST EPSSConsulted: 2026-11-19T18:27:28.916ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
df6d59cd350de9f0fd1538c7993c43836d653d901d9e552ee63f5caf6481cd39 - CVE ProgramConsulted: 2026-11-19T12:59:13.008ZArchived source JSON
Source publication: 2026-08-31T08:46:28.405Z
Source modification: 2026-10-29T21:16:56.214ZDocument fingerprint
fd66bebb2cb6560a09bc0230265fa7f3d9ab1e68e94d3795feb6ff6eac472e1c - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence