{"answers":{"affected":"2 open source packages ship an affected version, including nodemailer.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82661 exists.","fix":"Upgrade nodemailer to 8.0.9 or later.","what":"CVE-2026-82661 is a medium-severity vulnerability in nodemailer, published on 31 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-82661 and fix it if it is affected.\n\nWhat it is: CVE-2026-82661 is a medium-severity vulnerability in nodemailer, published on 31 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82661 exists.\n\nAffected packages and fixed versions:\n- nodemailer (npm): affected all versions; fixed in 8.0.9\n- nodemailer (npm): affected all versions; fixed in 8.0.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-82661/ (Markdown: https://insights.sbomify.com/CVE-2026-82661/index.md)","id":"CVE-2026-82661","markdown":"https://insights.sbomify.com/CVE-2026-82661/index.md","name":"CVE-2026-82661","record":{"aliases":["CLSA-2026-1784596338","DEBIAN-CVE-2026-82661","ECHO-72a1-437a-b6a9","GHSA-268h-hp4c-crq3","GHSA-2jv2-wqrj-g6x7","MINI-2w55-h3h4-vr8p","MINI-3q83-p43r-5j4w","MINI-4pww-hhhr-j2rp","MINI-6v84-9ccg-hrgp","MINI-99c3-7w22-v89q","MINI-9w2p-8wgw-5373","MINI-9wr3-r34m-32mj","MINI-cw5c-2c8c-6mqx","MINI-hhqg-2f6w-h749","MINI-hwgr-v226-ww3j","MINI-m5h9-gm64-hgvc","MINI-m627-x28x-2pqg","MINI-mxwj-qv4j-fpmc","MINI-v2f9-rpvr-fp58","MINI-vmgh-5r8m-xqgp","MINI-x856-pwmf-92c8","ROOT-APP-NPM-GHSA-268h-hp4c-crq3","UBUNTU-CVE-2026-82661"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js email library","requires_auth":"low_privilege","summary":"Attackers can inject CRLF sequences into email headers via list comments, altering message semantics and client behavior in Nodemailer.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"Nodemailer before 8.0.9 fails to sanitize carriage return and line feed characters in list comment fields, allowing attackers to inject arbitrary message headers. An attacker with control over list.*.comment parameters can inject CRLF sequences to create additional headers in generated RFC822 messages, altering mail client behavior and message semantics.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Nodemailer CRLF Injection via List-* Header Comments","id":"CVE-2026-82661","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Nodemailer before 8.0.8 TLS Certificate Validation Bypass","id":"CVE-2026-82662"},"packages":[{"ecosystem":"npm","fixed":["8.0.9"],"introduced":["0"],"last_affected":[],"package":"nodemailer","purl":null,"source":"GHSA-268h-hp4c-crq3"},{"ecosystem":"npm","fixed":["8.0.9"],"introduced":["0"],"last_affected":[],"package":"nodemailer","purl":"pkg:npm/nodemailer","source":"GHSA-268h-hp4c-crq3"}],"prev":{"headline":"Nodemailer jsonTransport bypasses disableFileAccess and disableUrlAccess","id":"CVE-2026-82660"},"products":["nodemailer"],"published":"2026-08-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-02","vendors":["nodemailer"]},"summary":"Attackers can inject CRLF sequences into email headers via list comments, altering message semantics and client behavior in Nodemailer.","url":"https://insights.sbomify.com/CVE-2026-82661/"}