{"id":"CVE-2020-7769","published":"2020-11-12T08:30:17Z","modified":"2024-09-16T18:50:22Z","title":"Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package nodemailer before 6.4.16. Use of crafted recipient email addresses may result in arbitrary command flag injection in sendmail transport for sending mails.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H/E:P/RL:U/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02303,"percentile":0.83741,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NODEMAILER-1038834","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1039742","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodemailer/nodemailer/blob/33b62e2ea6bc9215c99a9bb4bfba94e2fb27ebd0/lib/sendmail-transport/index.js%23L75","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodemailer/nodemailer/commit/ba31c64c910d884579875c52d57ac45acc47aa54","tags":["x_refsource_MISC"]}],"priority":{"score":22.8,"factors":[{"name":"EPSS percentile","points":16.75},{"name":"CVSS severity","points":6.02}]},"affectedVersions":[{"vendor":"n/a","product":"nodemailer","versions":[">= unspecified, < 6.4.16"]}],"affected":[{"ecosystem":"npm","package":"nodemailer","vulnerableRanges":["<6.4.16"],"patched":["6.4.16"],"from":["GHSA-48ww-j4fc-435p"],"provenance":"source"}],"summary":{"text":"The Nodemailer package (versions before 6.4.16) contains a command injection flaw in its sendmail transport, which is triggered when crafted recipient email addresses are processed. An attacker who can supply recipient addresses to the application over the network, without authentication or user interaction, can inject arbitrary command-line flags into the sendmail invocation used to send mail.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:38Z"},"euvd":{"id":"EUVD-2021-0932","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7769","published":"2020-11-12","fixed":"6.4.16","kev":false},{"cve":"CVE-2021-23400","published":"2021-06-29","fixed":"6.6.1","kev":false,"link":{"from":"CVE-2020-7769","to":"CVE-2021-23400","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodemailer","fromFixed":"6.4.16","toFixed":"6.6.1","daysApart":229}]}},{"cve":"CVE-2025-13033","published":"2025-11-14","fixed":"7.0.7","kev":false},{"cve":"CVE-2025-14874","published":"2025-12-18","fixed":"7.0.11","kev":false}],"package":"npm:nodemailer"}}