CVE-2025-61917CWE-200CWE-668

n8n Unsafe Buffer Allocation Allows In-Process Memory Disclosure in Task Runner

High · published February 4, 2026

CVSS v3.1
7.7
EPSS
0%
Percentile
33.7
In the wild
Unconfirmed
What it is

⚡ A crafty oversight in n8n’s task runner could let sneaky attackers peek into uninitialized memory! 🚨 Think of it like a restaurant where the chef doesn’t clean the kitchen thoroughly before the next cook arrives; leftover ingredients might end up in the new dish! Similarly, uninitialized buffers in n8n can leak sensitive data like secrets and tokens from previous tasks. An attacker could exploit this vulnerability to access sensitive information that should remain hidden, potentially revealing secrets, tokens, or even personal data from prior requests. The consequences could be absolutely devastating for users relying on n8n to keep their workflows private and secure.

Put simply

Think of it like a restaurant where the chef doesn’t clean the kitchen thoroughly before the next cook arrives; leftover ingredients might end up in the new dish! Similarly, uninitialized buffers in n8n can leak sensitive data like secrets and tokens from previous tasks. The vulnerability arises from the use of Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() in n8n versions 1.65.0 to before 1.114.3, allowing untrusted code to allocate memory that may still hold residual data from earlier operations in the Node.js process.

What to do

An attacker could exploit this vulnerability to access sensitive information that should remain hidden, potentially revealing secrets, tokens, or even personal data from prior requests. The consequences could be absolutely devastating for users relying on n8n to keep their workflows private and secure. Upgrade n8n to version 1.114.3 or later immediately to patch this vulnerability. Review your workflows for any potential exposure of sensitive data and ensure that proper memory handling practices are in place. You’ve got this! With a quick update, you’ll fortify your n8n instance against this sneaky oversight and keep your automation secure! 🛡️

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00405 · 33.7th percentile
Weaknesses
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-668 · Exposure of Resource to Wrong Sphere
Published
2026-02-04T16:46Z
EPSS history
Timeline
  • 04 FEB 16:46Z
    n8n Unsafe Buffer Allocation Allows In-Process Memory Disclosure in Task Runner
    cvelistv5