Use of Uninitialized Resource Affecting @n8n/task-runner package, versions <1.50.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

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-N8NTASKRUNNER-15223969
  • published5 Feb 2026
  • disclosed4 Feb 2026
  • creditUnknown

Introduced: 4 Feb 2026

CVE-2025-61917  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade @n8n/task-runner to version 1.50.2 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Resource via the Buffer.allocUnsafe and Buffer.allocUnsafeSlow functions in the task runner process. An attacker can access sensitive in-process memory contents by executing untrusted code that allocates uninitialized buffers. This is only exploitable if Task Runners are enabled using the N8N_RUNNERS_ENABLED environment variable and the Code Node is enabled.

Workaround

This vulnerability can be mitigated by disabling the Code Node via the NODES_EXCLUDE environment variable or by running Task Runners in external mode to isolate untrusted code execution in a separate sidecar container.

References

CVSS Base Scores

version 4.0
version 3.1