A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2026-21858

CVE-2026-21858: n8n Workflow Information Disclosure Flaw

CVE-2026-21858 is an information disclosure vulnerability in n8n workflow automation platform that allows unauthenticated attackers to access server files. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2026-21858 Overview

CVE-2026-21858 is an improper input validation vulnerability in n8n, an open source workflow automation platform. Versions starting with 1.65.0 and below 1.121.0 enable an attacker to access files on the underlying server through execution of certain form-based workflows. A vulnerable workflow could grant access to an unauthenticated remote attacker, resulting in exposure of sensitive information stored on the system and may enable further compromise depending on deployment configuration and workflow usage.

Critical Impact

This vulnerability allows unauthenticated remote attackers to read arbitrary files from the server through specially crafted form-based workflows, potentially exposing sensitive configuration files, credentials, and other confidential data.

Affected Products

  • n8n versions >= 1.65.0 and < 1.121.0

Discovery Timeline

  • 2026-01-08 - CVE CVE-2026-21858 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2026-21858

Vulnerability Analysis

This vulnerability is classified as CWE-20 (Improper Input Validation) and allows attackers to exploit form-based workflows within the n8n platform to gain unauthorized file system access. The vulnerability is particularly severe because it can be exploited without authentication, meaning any attacker with network access to a vulnerable n8n instance can potentially read sensitive files from the underlying server.

The attack can be executed remotely over the network with low complexity and requires no special privileges or user interaction. The scope of the vulnerability extends beyond the vulnerable component itself, meaning a successful exploit could potentially affect other resources on the system. The impact includes high confidentiality and integrity breaches, as attackers can read sensitive files and potentially leverage this access for further compromise.

Root Cause

The root cause of this vulnerability stems from improper input validation in the form-based workflow execution functionality. The n8n platform fails to adequately validate or sanitize inputs when processing certain form-based workflows, allowing attackers to manipulate these workflows to access files outside the intended scope. This lack of proper input validation enables path traversal or similar file access attacks through the workflow execution engine.

Attack Vector

The attack is network-based and can be performed by unauthenticated remote attackers. The exploitation process involves:

  1. An attacker identifies a vulnerable n8n instance running a version between 1.65.0 and 1.121.0
  2. The attacker crafts or triggers execution of a malicious form-based workflow
  3. The vulnerable workflow processing allows file system access due to improper input validation
  4. Sensitive files on the server are exposed to the attacker
  5. Depending on the deployment configuration and contents of exposed files, the attacker may leverage this information for further attacks

The vulnerability is exploitable through the form-based workflow functionality without requiring any prior authentication. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-21858

Indicators of Compromise

  • Unusual file access patterns in server logs, particularly requests for sensitive system files
  • Unexpected workflow executions, especially form-based workflows from unknown sources
  • Evidence of path traversal sequences in workflow parameters or API requests
  • Access attempts to configuration files, credential stores, or other sensitive directories
  • Network connections from suspicious IP addresses to the n8n service

Detection Strategies

  • Monitor n8n application logs for anomalous workflow execution patterns
  • Implement file integrity monitoring on sensitive server files
  • Deploy network intrusion detection systems (IDS) to identify suspicious traffic patterns targeting the n8n instance
  • Review workflow audit logs for unauthorized or unexpected form-based workflow creation and execution
  • Set up alerts for access attempts to sensitive file paths through the application

Monitoring Recommendations

  • Enable comprehensive logging for all workflow executions in n8n
  • Monitor server file system access logs for unauthorized read operations
  • Implement real-time alerting for any access to sensitive configuration files
  • Regularly review n8n access logs for unauthenticated requests to workflow endpoints

How to Mitigate CVE-2026-21858

Immediate Actions Required

  • Upgrade n8n immediately to version 1.121.0 or later
  • Audit existing form-based workflows for any signs of compromise or malicious modifications
  • Review server logs for indicators of exploitation attempts
  • Restrict network access to the n8n instance to trusted IP addresses only until patching is complete
  • Consider temporarily disabling form-based workflows if immediate upgrade is not possible

Patch Information

The vulnerability has been fixed in n8n version 1.121.0. Organizations running affected versions (between 1.65.0 and 1.121.0) should upgrade to the patched version immediately. The security advisory is available at the GitHub Security Advisory page.

Workarounds

  • Implement network-level access controls to restrict access to the n8n instance
  • Use a web application firewall (WAF) to filter potentially malicious requests
  • Disable or restrict form-based workflows until the upgrade can be applied
  • Run n8n in a containerized environment with limited file system access
  • Implement strict file system permissions to limit the impact of potential exploitation
bash
# Example: Restrict network access to n8n using iptables
# Allow only trusted IP ranges to access n8n service port
iptables -A INPUT -p tcp --dport 5678 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 5678 -j DROP

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

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Security Advisory
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
  • English
  • 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