CVE-2026-27493

9.0 CRITICAL

📋 TL;DR

This CVE describes a second-order expression injection vulnerability in n8n's Form nodes that could allow unauthenticated attackers to inject and evaluate arbitrary n8n expressions. When combined with a sandbox escape vulnerability, this could lead to remote code execution on the n8n host. The vulnerability affects n8n users with specific workflow configurations where form fields interpolate user-provided values starting with '='.

💻 Affected Systems

Products:
  • n8n
Versions: All versions prior to 2.10.1, 2.9.3, and 1.123.22
Operating Systems: All platforms running n8n
Default Config Vulnerable: ✅ No
Notes: Requires specific workflow configuration: 1) Form node with field interpolating unauthenticated user input, 2) Field value must begin with '=' character. This is not a default configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution on the n8n host when chained with a sandbox escape vulnerability, potentially leading to complete system compromise.

🟠

Likely Case

Expression injection limited to data accessible within n8n's expression context, potentially exposing sensitive workflow data or configuration.

🟢

If Mitigated

No impact if proper patching or workarounds are implemented and vulnerable workflows are not present.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: HIGH

Exploitation requires specific workflow configuration and chaining with separate sandbox escape vulnerability for RCE. Discovery of vulnerable forms would be difficult without prior knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.10.1, 2.9.3, or 1.123.22

Vendor Advisory: https://github.com/n8n-io/n8n/releases

Restart Required: Yes

Instructions:

1. Stop n8n service. 2. Update n8n to version 2.10.1, 2.9.3, or 1.123.22 using your package manager or installation method. 3. Restart n8n service.

🔧 Temporary Workarounds

Disable Form Nodes

all

Add form nodes to NODES_EXCLUDE environment variable to disable them

export NODES_EXCLUDE="n8n-nodes-base.form,n8n-nodes-base.formTrigger"

🧯 If You Can't Patch

  • Manually review all workflows for form nodes that interpolate user input and ensure no fields accept values starting with '='
  • Implement network segmentation to restrict access to n8n instances from untrusted networks

🔍 How to Verify

Check if Vulnerable:

Check n8n version and review workflows for form nodes with user-input interpolation fields

Check Version:

n8n --version

Verify Fix Applied:

Verify n8n version is 2.10.1, 2.9.3, or 1.123.22 or later

📡 Detection & Monitoring

Log Indicators:

  • Unusual expression evaluation errors in n8n logs
  • Form submissions containing '=' prefix in field values

Network Indicators:

  • HTTP POST requests to form endpoints with crafted payloads

SIEM Query:

source="n8n" AND ("expression error" OR "form submission" AND "=")

🔗 References

📤 Share & Export