Auth bypass in N8n

CVE-2026-59254

n8n before 2.28.1 contains an information disclosure vulnerability where external secrets are incorrectly resolved in workflow node expressions outside credentials scope. Authenticated project editors can read plaintext external secret values by referencing them in node expressions without requiring explicit secrets access permissions.

Vulnerability class: IDOR (Insecure Direct Object Reference)

EPSS: 0.004 (29.2th percentile) — read the EPSS interpretation.

Affected products

  • N8n — versions 0, 2.28.1, 2.27.4

Weakness classification (CWE)

References