Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-59254

CVE-2026-59254: n8n: External Secrets Accessible via Workflow Expressions Outside Credentials

July 22, 2026

External secrets were incorrectly resolved in workflow node expressions, where they are not intended to be available. An authenticated user with project editor access could read the plaintext value of external secrets by referencing them in a node expression, without needing explicit secrets access permissions.

This issue only affects instances with the external secrets feature configured.

References

  • github.com/advisories/GHSA-2434-3x6q-8r99
  • github.com/n8n-io/n8n/releases/tag/n8n%402.27.4
  • github.com/n8n-io/n8n/releases/tag/n8n%402.28.1
  • github.com/n8n-io/n8n/security/advisories/GHSA-2434-3x6q-8r99
  • nvd.nist.gov/vuln/detail/CVE-2026-59254
  • www.vulncheck.com/advisories/n8n-external-secrets-disclosure-via-workflow-node-expressions

Code Behaviors & Features

Detect and mitigate CVE-2026-59254 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.27.4, all versions starting from 2.28.0 before 2.28.1

Fixed versions

  • 2.27.4
  • 2.28.1

Solution

Upgrade to versions 2.27.4, 2.28.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

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

Source file

npm/n8n/CVE-2026-59254.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:11 +0000.