Skip to main content
← All vulnerabilities
CVE-2026-42227GHSA-756Q-GQ9H-FP22

n8n: Public API Variables IDOR Allows Cross-Project Secret Disclosure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.123.32, 2.17.4, 2.18.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, an authenticated user with a valid API key scoped to variable:list could read variables from projects they are not a member of by supplying an arbitrary projectId query parameter to the public API variables endpoint. The handler queried the variables repository directly without enforcing project membership checks, bypassing the authorization-aware service layer used by the internal enterprise controller. If variables were misused to store sensitive information such as credentials or tokens, they should be rotated immediately. This issue only affects licensed enterprise or team deployments with multiple projects and the variables feature enabled. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n8n-io n8n

    fixed in 1.123.32; From 2.17.0 · fixed in 2.17.4; From 2.18.0 · fixed in 2.18.1

  • n8nnpm

    fixed in 1.123.32

  • n8nnpm

    From 2.18.0 · fixed in 2.18.1

  • n8nnpm

    From 2.0.0 · fixed in 2.17.4

References 1

GitHub · n8n-io/n8n