n8n
cpe:2.3:a:n8n:n8n:*:*:*:*:node.js:*:*
- < 1.123.32
- < 2.17.4
- < 2.18.1
A vulnerability in n8n's public API variables endpoint allows authenticated users with a valid API key scoped to 'variable:list' to access variables from projects they do not belong to. This issue affects n8n versions prior to 1.123.32, 2.17.4, and 2.18.1, and is present in licensed enterprise or team deployments with multiple projects and the variables feature enabled. The vulnerability arises because the API endpoint bypasses project membership checks, directly querying the variables repository and circumventing the authorization-aware service layer of the internal enterprise controller. As a result, if sensitive information such as credentials or tokens was stored in the variables, it could be improperly accessed and should be rotated immediately.
Exploitation of this vulnerability could lead to unauthorized access to project variables, potentially including sensitive information like credentials or tokens, from projects the user is not a member of.
Users should upgrade to n8n versions 1.123.32, 2.17.4, or 2.18.1. If an immediate upgrade is not possible, access to n8n and API key issuance should be restricted to trusted users only, and existing project variables should be audited for sensitive information, with any exposed secrets rotated.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.