CVE-2026-42227
MEDIUM 6.0CVSS 4.0n8n has Public API Variables IDOR that Allows Cross-Project Secret Disclosure
n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, an authenticated user with a valid API key scoped to variable:list could read variables from projects they are not a member of by supplying an arbitrary projectId query parameter to the public API variables endpoint. The handler queried the variables repository directly without enforcing project membership checks, bypassing the authorization-aware service layer used by the internal enterprise controller. If variables were misused to store sensitive information such as credentials or tokens, they should be rotated immediately. This issue only affects licensed enterprise or team deployments with multiple projects and the variables feature enabled. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.
- Published
- 4 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-639
- Also known as
- GHSA-756q-gq9h-fp22
- Sources
- NVDJSONOSV GHSA-756q-gq9h-fp22JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* |
< 1.123.32 | 1.123.32 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* |
>= 2.17.0, < 2.17.4 | 2.17.4 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:* |
= 2.18.0 | |
| OSV | npm | n8n | < 1.123.32 | 1.123.32 |
| OSV | npm | n8n | >= 2.18.0, < 2.18.1 | 2.18.1 |
| OSV | npm | n8n | >= 2.0.0, < 2.17.4 | 2.17.4 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-756q-gq9h-fp22 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42227 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 29 Apr 2026)