Improper access control in n8n - CVE-2026-85166

 

Improper access control in n8n - CVE-2026-85166

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


Vulnerability identifier: #VU144360
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:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-85166
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper access control in workflow tool nodes executing inline sub-workflows when processing workflow creation or update requests containing inline workflow JSON. A remote user can plant a node that references a credential they do not hold to disclose sensitive information.

Exploitation requires the crafted workflow to later be executed under an identity that does hold the referenced credential, and the secret can then be sent to an attacker-controlled endpoint.


Affected software

n8n

How to mitigate CVE-2026-85166

Install security update from vendor's website.

n8n - addressed in versions 2.35.4, 2.36.2

External References

Related Security Bulletins