Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. GHSA-2x35-3fw4-9jr4

GHSA-2x35-3fw4-9jr4: n8n: Send Email Node Arbitrary File Read and SSRF via Nodemailer Content-Object Type Confusion

July 22, 2026

The n8n Send Email node did not enforce that its message fields were strings, so a crafted untrusted non-string value from a workflow expression could be treated by the underlying mail library as a file path or URL. This could allow disclosure of local files on the n8n host.

Exploitation requires a pre-existing active workflow with an unauthenticated webhook, valid SMTP credentials configured on the Send Email node, and untrusted input mapped directly into the text or HTML body field. This is not a default n8n configuration.

References

  • github.com/advisories/GHSA-2x35-3fw4-9jr4
  • github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f
  • github.com/n8n-io/n8n/releases/tag/n8n@1.123.67
  • github.com/n8n-io/n8n/releases/tag/n8n@2.31.5
  • github.com/n8n-io/n8n/releases/tag/n8n@2.32.1
  • github.com/n8n-io/n8n/security/advisories/GHSA-2x35-3fw4-9jr4

Code Behaviors & Features

Detect and mitigate GHSA-2x35-3fw4-9jr4 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.123.67, all versions starting from 2.0.0-rc.0 before 2.31.5, all versions starting from 2.32.0 before 2.32.1

Fixed versions

  • 1.123.67
  • 2.31.5
  • 2.32.1

Solution

Upgrade to versions 1.123.67, 2.31.5, 2.32.1 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/n8n/GHSA-2x35-3fw4-9jr4.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:58 +0000.