Incorrect Authorization Affecting n8n package, versions <1.123.67>=2.0.0-rc.0 <2.31.5>=2.32.0 <2.32.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8N-18322067
  • published27 Jul 2026
  • disclosed22 Jul 2026
  • creditthesecguy45

Introduced: 22 Jul 2026

New CVE NOT AVAILABLE CWE-863  (opens in a new tab)

How to fix?

Upgrade n8n to version 1.123.67, 2.31.5, 2.32.1 or higher.

Overview

n8n is a n8n Workflow Automation Tool

Affected versions of this package are vulnerable to Incorrect Authorization in the JS task runner. An attacker can impact the confidentiality, integrity, or availability of other users' executions by poisoning the shared module cache.

Note: This is only exploitable if the instance is multi-user and the JS task runner is configured with built-in or external modules enabled.

Workaround

This vulnerability can be mitigated by restricting instance access to fully trusted users, disabling built-in and external module access in Code nodes by unsetting NODE_FUNCTION_ALLOW_BUILTIN and NODE_FUNCTION_ALLOW_EXTERNAL, or using external runner mode with a dedicated runner per user or project.

References

CVSS Base Scores

version 4.0
version 3.1