Appsecure logo

CVE-2026-21858: Critical Vulnerability in n8n

CVE-2026-21858 is a critical vulnerability in the n8n workflow automation platform, allowing unauthenticated remote attackers to access sensitive files. Organizations using affected versions must patch immediately to prevent potential data exposure.

CRITICALPublic ExploitCVSS 10 · Published January 8, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2026-21858 represents a critical vulnerability in the n8n workflow automation platform, which is widely used for automating various workflows. This vulnerability allows an unauthenticated remote attacker to exploit certain form-based workflows, potentially leading to unauthorized access to sensitive files on the underlying server. The severity of this vulnerability is underscored by its CVSS score of 10, indicating a critical risk to organizations that utilize this platform.

Organizations should prioritize patching immediately to mitigate the risk associated with this vulnerability. The flaw is present in versions starting from 1.65.0 up to, but not including, 1.121.0, which means any deployment running these versions is at risk of exploitation. The potential impact includes exposure of sensitive information, which can lead to further compromise depending on the configuration and usage of the workflows.

As of the time of this writing, there are known exploits for this vulnerability, which increases the urgency for affected organizations to remediate it. Without prompt action, attackers may leverage this vulnerability to gain unauthorized access to critical data.

To ensure security, organizations using n8n should assess their current version and apply the necessary updates as soon as possible. The fix for this vulnerability is included in version 1.121.0, and upgrading to this or a later version is essential to safeguard against potential attacks.

Vulnerability Details

The vulnerability, CVE-2026-21858, allows an attacker to access files on the server through the execution of specific workflows. This issue is classified under CWE-20 (Improper Input Validation), and it affects all n8n versions from 1.65.0 to just below 1.121.0. The official CVE description explicitly states that the vulnerability could allow unauthorized access to sensitive information, emphasizing the critical nature of this security flaw.

The CVSS 3.1 score of 10 indicates critical severity, with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N. The attack vector for this vulnerability is NETWORK, and it has low attack complexity, requiring no privileges or user interaction to exploit. The impact on confidentiality and integrity is high, while availability is unaffected.

Technical Analysis

The root cause of CVE-2026-21858 arises from improper input validation during the handling of certain form-based workflows. Attackers can exploit this weakness by crafting malicious workflows that allow them to access files stored on the server. The attack complexity is low, meaning that exploiting this vulnerability does not require advanced skills or resources. Additionally, since no authentication is required, the barrier to entry for potential attackers is significantly lowered.

The attack vector is primarily network-based, indicating that an attacker can initiate the attack remotely. Given that no privileges are required, even unauthenticated users can exploit this vulnerability, making it particularly dangerous. Organizations must be vigilant in monitoring their n8n deployments to prevent unauthorized access and potential data breaches.

Risk & Impact Analysis

Risk to organizations includes the potential exposure of sensitive information stored on the n8n server. Given that the vulnerability allows unauthenticated access, the blast radius could be extensive, affecting any organization using the vulnerable versions. The critical nature of the vulnerability necessitates that organizations address it in their priority patch cycle.

With a CVSS score of 10 and no public exploits confirmed, the urgency for remediation is critical. Organizations must act swiftly to update their n8n installations to the latest version, as the potential for exploitation is high and can lead to significant data breaches.

Exploitation Status

Signal

Status

Known Exploit

Yes

Public PoC

Yes

Actively Exploited

No

Ransomware Use

No

Affected Versions

All n8n versions starting from 1.65.0 and below 1.121.0 are affected by this vulnerability. Organizations must upgrade to version 1.121.0 or later to mitigate the risks associated with CVE-2026-21858.

Mitigation & Remediation

Organizations must apply the patch provided in version 1.121.0 of n8n immediately. If an upgrade is not possible, organizations should consider implementing workarounds, such as restricting access to the n8n instance or disabling vulnerable workflows until the patch can be applied.

For additional security, organizations should implement network controls to limit access to the n8n instance, and monitor logs for any suspicious activity related to unauthorized access attempts.

To further enhance security posture, organizations may also consider engaging in penetration testing to validate the effectiveness of their remediation efforts.

Detection Guidance

To detect potential exploitation of this vulnerability, organizations should monitor logs for any indicators of unauthorized access attempts, particularly those related to form submissions that could trigger vulnerable workflows.

Behavioral anomalies in user access patterns should also be investigated to identify any unauthorized activities that may indicate an exploitation attempt.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2026-21858 lies in its demonstration of the potential risks associated with improper input validation in automation platforms. As organizations increasingly rely on workflow automation, the need for robust security practices becomes paramount.

This vulnerability serves as a reminder for security teams to conduct regular assessments and implement security measures that address not only current vulnerabilities but also emerging threats.

For organizations using n8n, adopting a proactive security stance through application security assessments can help mitigate risks associated with vulnerabilities like CVE-2026-21858.

Ultimately, this incident emphasizes the importance of continuous monitoring and the need for organizations to be equipped with the right tools to detect and respond to potential vulnerabilities in real-time.

For further insights and guidance, organizations can explore our penetration testing methodology to strengthen their security posture.

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

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.