# CVE-2026-82659: nodemailer before 9.0.1 File Read and SSRF via raw option

> Authenticated attackers can bypass file and URL access restrictions in nodemailer to read arbitrary files or perform SSRF via raw message options.

- **Severity:** High 7.1 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 31 Aug 2026
- **Updated:** 31 Aug 2026
- **Also known as:** CLEANSTART-2026-RJ14014, CLSA-2026-1784769504, CLSA-2026-1791667067, DEBIAN-CVE-2026-82659, ECHO-4ff8-2bb0-4808, GHSA-p6gq-j5cr-w38f, MINI-276p-6xpv-6q2x, MINI-2ch3-56j6-5vxw, MINI-387f-48h8-fwwr, MINI-5rr9-j574-jxgc, MINI-6h88-8f98-jh9h, MINI-92rq-r962-36hv, MINI-9g6h-59fh-3778, MINI-c3cf-85cc-86qj, MINI-fxxc-mcpw-mh94, MINI-gg8w-xxfm-mcgg, MINI-gp8x-2h2g-fqhx, MINI-hc6p-2935-32jf, MINI-jr4v-672m-j6qq, MINI-m4mc-rg26-qffx, MINI-mfr6-hpm7-5jv8, MINI-mvcm-3x6v-8hfq, MINI-qcgw-rm99-q9mw, MINI-v7gj-84ph-cr8w, MINI-vjwc-7m42-6hgq, MINI-x2wr-5v2f-pvrh, MINI-xcx6-h689-6x8w, MINI-xh8x-9r23-3r3h, ROOT-APP-NPM-CVE-2026-82659, ROOT-APP-NPM-GHSA-p6gq-j5cr-w38f, UBUNTU-CVE-2026-82659

## What is CVE-2026-82659?

CVE-2026-82659 is a high-severity server-side request forgery vulnerability in nodemailer, published on 31 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

nodemailer before 9.0.1 fails to apply disableFileAccess and disableUrlAccess flags to message-level raw option, allowing authenticated attackers to read arbitrary files or perform server-side request forgery by supplying path or href properties. Attackers can exploit this by crafting raw messages with file paths or URLs that bypass the intended sandbox, with fetched content delivered in the outgoing message to attacker-controlled recipients.

Weakness: CWE-73 (External Control of File Name or Path)

## Which versions are affected by CVE-2026-82659?

2 open source packages ship an affected version, including nodemailer.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `nodemailer` | npm | All versions | 9.0.1 |
| `nodemailer` | npm | All versions | 9.0.1 |

## How do I fix CVE-2026-82659?

Upgrade nodemailer to 9.0.1 or later.

## Is CVE-2026-82659 being exploited?

There is no known exploitation of CVE-2026-82659 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-82659 and fix it if it is affected.

What it is: CVE-2026-82659 is a high-severity server-side request forgery vulnerability in nodemailer, published on 31 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-82659 in the wild and no public exploit code.

Affected packages and fixed versions:
- nodemailer (npm): affected all versions; fixed in 9.0.1
- nodemailer (npm): affected all versions; fixed in 9.0.1

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-82659/ (Markdown: https://insights.sbomify.com/CVE-2026-82659/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-82659
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-82659
- OSV: https://osv.dev/vulnerability/CVE-2026-82659

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-82659/
Summaries are generated and may contain mistakes; the official description above is the record.
