Improper access control in n8n - CVE-2026-85169

 

Improper access control in n8n - CVE-2026-85169

Published: August 19, 2026 / Updated: September 14, 2026


Vulnerability identifier: #VU144363
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-85169
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper access control in the $fromAI expression resolver when processing caller-supplied placeholder names against primitive input values. A remote user can supply a crafted expression that accesses a host prototype reference and reaches the Function constructor to execute arbitrary code.

Exploitation requires workflow-build privilege alone and results in code execution in the main n8n process.


Affected software

n8n

How to mitigate CVE-2026-85169

Install security update from vendor's website.

n8n - addressed in versions 1.123.73, 2.35.4, 2.36.2

External References

Related Security Bulletins