Improper access control in n8n - CVE-2026-85166
Published: August 19, 2026 / Updated: September 14, 2026
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.