Exposure of Sensitive System Information to an Unauthorized Control Sphere Affecting n8n-nodes-base package, versions <2.7.0


Severity

Recommended
0.0
high
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 IDSNYK-JS-N8NNODESBASE-15357599
  • published26 Feb 2026
  • disclosed25 Feb 2026
  • creditMarcoPoloPie, Nico-Posada

Introduced: 25 Feb 2026

NewCVE-2026-27494  (opens in a new tab)
CWE-497  (opens in a new tab)

How to fix?

Upgrade n8n-nodes-base to version 2.7.0 or higher.

Overview

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere due to insufficient restrictions in the Python Code node sandbox. An attacker can access sensitive files or execute arbitrary code by escaping the sandbox environment.

Workaround

This vulnerability can be mitigated by limiting workflow creation and editing permissions to fully trusted users only, or by disabling the Code node by adding n8n-nodes-base.code to the NODES_EXCLUDE environment variable.

CVSS Base Scores

version 4.0
version 3.1