Skip to content
Blog

n8n Type Confusion Vulnerability (CVE-2026-72766) — High Severity

N8N-Banner-ucartz
In this article
  1. CVE Details
  2. Affected Products
  3. Current Status
  4. Severity Level
  5. Possible Solutions
  6. Update Your n8n Instance
  7. Mitigation Strategies
  8. References

n8n is a powerful open-source tool that helps you automate workflows and integrate various applications without writing extensive code. However, a significant security flaw has been identified in its ‘Send Email’ node, posing a risk to users. This vulnerability, tracked as CVE-2026-72766, could potentially expose sensitive information or allow malicious server requests if not addressed promptly.

CVE Details

This vulnerability affects the n8n automation platform.

  • Product: n8n
  • Published Date: August 11, 2026
  • Severity: High
  • Status: Analyzed

Affected Products

The issue specifically impacts the ‘Send Email’ node within certain versions of n8n. If you are running any of the following, your instance is vulnerable:

  • n8n versions before 1.123.67
  • n8n 2.x versions before 2.31.5
  • n8n 2.32.x versions before 2.32.1

Both community and enterprise editions of n8n built for Node.js are affected.

Current Status

The vulnerability has been thoroughly analyzed by the n8n development team. Patches have been released, and users are strongly advised to update their installations to a secure version as soon as possible. The issue is well-understood, and clear solutions are available. The last modification to this vulnerability record was on October 23, 2026.

Severity Level

Rated with a CVSS score of 7.5, this vulnerability is classified as ‘High’ severity. This means that while exploiting it might require specific conditions, the potential impact is considerable. An attacker could leverage this flaw to disclose arbitrary local files from your server or perform Server-Side Request Forgery (SSRF). This could lead to sensitive data exposure or unauthorized access to internal network resources. It’s important to note that exploitation isn’t straightforward and requires specific configurations, such as an active workflow with an unauthenticated webhook, valid SMTP credentials, and direct mapping of untrusted input to the email body field.

Possible Solutions

The most effective way to protect your n8n instance from CVE-2026-72766 is to apply the available patches immediately.

Update Your n8n Instance

Upgrade to one of the following patched versions (or newer):

  • n8n 1.123.67
  • n8n 2.31.5
  • n8n 2.32.1

These updates address the type confusion issue in the ‘Send Email’ node, ensuring that message fields are correctly enforced as strings, thereby preventing misinterpretation by the underlying mail library.

Mitigation Strategies

If an immediate update isn’t feasible, consider these temporary mitigation steps:

  • Strict Input Validation: Avoid mapping untrusted or user-supplied input directly into the ‘text’ or ‘HTML body’ fields of the ‘Send Email’ node without rigorous validation.
  • Secure Webhooks: Ensure that any webhooks associated with workflows containing the ‘Send Email’ node are authenticated, preventing unauthenticated access to potentially vulnerable workflows.
  • Review SMTP Configuration: Be mindful of the SMTP credentials configured on your ‘Send Email’ nodes and limit their permissions where possible.

Regularly reviewing your n8n workflows for secure configurations is a crucial best practice.

References

https://github.com/n8n-io/n8n/security/advisories/GHSA-2×35-3fw4-9jr4
https://www.vulncheck.com/advisories/n8n-before-arbitrary-file-read-via-send-email-node

Share
Alex Joseph

Alex Joseph

Alex Joseph is a Senior Support Staff professional with deep experience in server management, web hosting technologies, and cybersecurity operations. He works daily with Linux servers, cloud platforms, performance tuning, and security hardening, giving him strong real-world technical knowledge. Along with his support role, he write about security best practices, hosting infrastructure, and software management.

Related updates

Start Building Today

Ready to Get Started?

VPS, dedicated servers, streaming and managed hosting with 24/7 support from the Ucartz team.