{"id":"CVE-2026-42227","published":"2026-05-04T18:26:18Z","modified":"2026-05-05T14:14:32Z","title":"n8n: Public API Variables IDOR Allows Cross-Project Secret Disclosure","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00343,"percentile":0.20289,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-756q-gq9h-fp22","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":4.06},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.32",">= 2.17.0, < 2.17.4",">= 2.18.0, < 2.18.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-05T13:08:26.119452Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.32",">=2.18.0, <2.18.1",">=2.0.0, <2.17.4"],"patched":["1.123.32","2.18.1","2.17.4"],"from":["GHSA-756q-gq9h-fp22"],"provenance":"source"}],"summary":{"text":"The n8n workflow automation platform's public API variables endpoint fails to check project membership, so a user can read variables from projects they do not belong to by supplying an arbitrary projectId query parameter. An attacker needs a valid API key scoped to variable:list, and the flaw affects only licensed enterprise or team deployments with multiple projects and the variables feature enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:27Z"},"euvd":{"id":"EUVD-2026-27095","exploited":false,"provenance":"source"}}