Authorization bypass through user-controlled key in n8n - CVE-2026-42227

 

Authorization bypass through user-controlled key in n8n - CVE-2026-42227

Published: April 23, 2026


Vulnerability identifier: #VU127223
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-42227
CWE-ID: CWE-639
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 authorization bypass through a user-controlled key in the public API variables endpoint when handling requests with an arbitrary projectId query parameter. A remote user can supply a crafted projectId value to disclose sensitive information.

Only licensed enterprise or team deployments with multiple projects and the variables feature enabled are vulnerable.


Affected software

n8n

How to mitigate CVE-2026-42227

Install security update from vendor's website.

n8n - addressed in versions 1.123.32, 2.17.4, 2.18.1

External References

Related Security Bulletins