CVE-2026-42227
published medium CVSS 4.0 · 6.0n8n: Public API Variables IDOR Allows Cross-Project Secret Disclosure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n8n-io | — | n8n< 1.123.32 · >= 2.17.0, < 2.17.4 · >= 2.18.0, < 2.18.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n8n-io | n8n | < 1.123.32 (affected)>= 2.17.0, < 2.17.4 (affected)>= 2.18.0, < 2.18.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
1Provider assertions
2GitHub_M · cna
n8n: Public API Variables IDOR Allows Cross-Project Secret Disclosure
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1c2f531bcc4d14402ae516d8f52524e0f7968bea9b7fdc5248b96969c0a5a508
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record