CVE-2026-59259

Summary

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 Software

VendorProductVersion RangeStatus
n8nn8n0 < 1.123.61affected
n8nn8n1.123.61unaffected
n8nn8n0 < 2.28.1affected
n8nn8n2.28.1unaffected
n8nn8n0 < 2.27.4affected
n8nn8n2.27.4unaffected

Weaknesses

  • CWE-639: Authorization Bypass Through User-Controlled Key

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References