CVE-2026-59259
Published:July 15, 2026
Updated:August 04, 2026
n8n before versions 1.123.61, 2.27.4, and 2.28.1 contains a permission bypass vulnerability in external secrets handling caused by a mismatch between the static validation check and the runtime expression engine. An authenticated user with credential create or update permissions but without the externalSecret:list scope can embed external secret references into credentials in forms the static validation does not detect; these references resolve at workflow execution time, exposing secret values the user is not authorized to access. This issue only affects instances where an external secrets provider is configured and Advanced Permissions are in use.
Affected Packages
n8n (NPM):
Affected version(s) >=0.0.1 <1.123.61Fix Suggestion:
Update to version 1.123.61n8n (NPM):
Affected version(s) =2.28.0 <2.28.1Fix Suggestion:
Update to version 2.28.1n8n (NPM):
Affected version(s) >=2.0.0 <2.27.4Fix Suggestion:
Update to version 2.27.4n8n (NPM):
Affected version(s) >=0.0.1 <1.123.61Fix Suggestion:
Update to version 1.123.61n8n (NPM):
Affected version(s) >=2.0.0-rc.0 <2.27.4Fix Suggestion:
Update to version 2.27.4n8n (NPM):
Affected version(s) >=2.27.4 <2.28.1Fix Suggestion:
Update to version 2.28.1Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Authorization Bypass Through User-Controlled Key
EPSS
Base Score:
0.32