The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-61917

CVE-2025-61917: n8n Workflow Information Disclosure Flaw

CVE-2025-61917 is an information disclosure vulnerability in n8n workflow automation platform affecting versions 1.65.0 to 1.114.2. This article covers the technical details, affected versions, impact, and mitigation steps.

Published: February 6, 2026

CVE-2025-61917 Overview

CVE-2025-61917 is a memory information disclosure vulnerability affecting n8n, an open source workflow automation platform. The vulnerability exists in versions 1.65.0 through 1.114.2, where the use of Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() in the task runner allows untrusted code to allocate uninitialized memory. Such uninitialized buffers could contain residual data from within the same Node.js process, including sensitive information from prior requests, tasks, secrets, or authentication tokens.

Critical Impact

Untrusted code execution within n8n workflows can access sensitive residual data from uninitialized memory buffers, potentially exposing secrets, tokens, and data from prior requests within the Node.js process.

Affected Products

  • n8n versions 1.65.0 through 1.114.2
  • n8n self-hosted deployments running vulnerable versions
  • n8n cloud instances prior to version 1.114.3

Discovery Timeline

  • 2026-02-04 - CVE CVE-2025-61917 published to NVD
  • 2026-02-05 - Last updated in NVD database

Technical Details for CVE-2025-61917

Vulnerability Analysis

This vulnerability stems from the improper use of Node.js buffer allocation methods within n8n's task runner component. The Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() methods are designed for performance-critical applications where developers explicitly manage buffer initialization. However, when used in an environment where untrusted code can execute, these methods create a significant security risk.

When a buffer is allocated using Buffer.allocUnsafe(), Node.js returns a buffer pointing to uninitialized memory. This memory may contain residual data from previous allocations within the same process, including sensitive information such as API keys, authentication tokens, session data, or workflow secrets that were previously processed by n8n.

The vulnerability is classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), as it enables unauthorized access to potentially sensitive data through uninitialized memory exposure.

Root Cause

The root cause of this vulnerability is the use of unsafe buffer allocation methods (Buffer.allocUnsafe() and Buffer.allocUnsafeSlow()) in n8n's task runner without proper memory initialization. These methods skip the memory zeroing step that Buffer.alloc() performs, creating an opportunity for information leakage when the allocated buffers are accessible to untrusted code executed within workflows.

In the context of n8n's workflow automation platform, users can execute custom code through various nodes and integrations. When this untrusted code gains access to uninitialized buffers, it can read residual memory contents that may contain sensitive data from previous operations within the same Node.js process.

Attack Vector

The attack vector for this vulnerability requires network access with low-privilege authentication to the n8n platform. An attacker with the ability to create or execute workflows can craft malicious code that:

  1. Triggers the allocation of uninitialized buffers through the task runner
  2. Reads the contents of these buffers before they are properly initialized
  3. Extracts sensitive information such as secrets, tokens, or data from prior workflow executions

The attack does not require user interaction and can be executed remotely against vulnerable n8n instances. The scope is changed, meaning the vulnerability can affect resources beyond the vulnerable component's security boundary, potentially exposing data from other workflows or users sharing the same n8n process.

Detection Methods for CVE-2025-61917

Indicators of Compromise

  • Unusual workflow executions attempting to allocate large buffers or perform repeated buffer operations
  • Workflows containing code that reads raw buffer contents without explicit data assignment
  • Abnormal data exfiltration patterns from n8n workflow outputs
  • Unexpected API calls or network requests containing base64-encoded or binary data from workflow executions

Detection Strategies

  • Monitor n8n workflow logs for suspicious code execution patterns involving buffer operations
  • Implement network monitoring for unusual data transfers originating from n8n instances
  • Review workflow definitions for code that accesses buffer contents immediately after allocation
  • Enable audit logging for all workflow creations and modifications to track potentially malicious changes

Monitoring Recommendations

  • Deploy application-level monitoring to track buffer allocation patterns within n8n processes
  • Configure alerting for workflows that attempt to access memory-related APIs
  • Implement data loss prevention (DLP) rules to detect sensitive data exfiltration through workflow outputs
  • Regularly audit workflow permissions to ensure principle of least privilege

How to Mitigate CVE-2025-61917

Immediate Actions Required

  • Upgrade n8n to version 1.114.3 or later immediately
  • Review existing workflows for potentially malicious code that could exploit this vulnerability
  • Audit recent workflow execution logs for suspicious buffer-related operations
  • Consider temporarily restricting workflow creation permissions until patching is complete

Patch Information

n8n has addressed this vulnerability in version 1.114.3. The fix replaces the use of Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() with safe alternatives that properly initialize memory before use. Users should upgrade to version 1.114.3 or later to remediate this issue. Additional details are available in the GitHub Security Advisory and the commit implementing the fix.

Workarounds

  • Restrict workflow creation and execution permissions to trusted users only until patching is complete
  • Implement network segmentation to isolate n8n instances from sensitive internal resources
  • Monitor and review all custom code within workflows for suspicious buffer operations
  • Consider disabling or limiting code execution nodes if not required for business operations
  • Deploy application firewalls to monitor and filter potentially malicious workflow traffic
bash
# Upgrade n8n to patched version
npm update n8n@1.114.3

# For Docker deployments
docker pull n8nio/n8n:1.114.3
docker stop n8n-container
docker run -d --name n8n-container n8nio/n8n:1.114.3

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechN8n

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub Commit Log

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27496: n8n Information Disclosure Vulnerability

  • CVE-2026-25052: N8n Information Disclosure Vulnerability

  • CVE-2026-21858: n8n Workflow Information Disclosure Flaw

  • CVE-2026-33722: n8n Workflow Automation Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English