CVE-2026-21858

n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling

Published Jan 7, 2026 CVSS 3.1 · 10 Critical EPSS 78.2% KEV · Not listed
Description
n8n is 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. This issue is fixed in version 1.121.0.

Analysis

AI-generated

Technical impact

A flaw in n8n’s handling webhook request data allows an attacker who does not possess authentication credentials to retrieve arbitrary files from the server. The vulnerability is an input validation issue (CWE‑20) that enables an unauthenticated remote attacker to read sensitive information from the underlying filesystem. If the attacker can read configuration files or other assets, further compromise may be possible depending on the deployment context and the workflows in use.

Affected Systems

The open source workflow automation platform n8n is affected. Vulnerable versions include all releases from 1.65.0 through the 1.120.x series; the issue is fixed in version 1.121.0 and later.

Risk and Exploitability

The CVSS score of 10.0 reflects a critical severity, and the EPSS score of 78% indicates a high likelihood that the flaw will be exploited in the near future. The vulnerability is not currently listed in the CISA KEV catalog. Based on the description, it is inferred that exploitation requires sending a specially crafted webhook‑style request to an exposed n8n instance, which is feasible over the network and does not require any pre‑existing user privileges. Once triggered, the attacker can access any file that the n8n process can read.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the n8n installation to version 1.121.0 or later, which contains the patch for this file‑access flaw.
  • Restrict incoming webhook traffic to authenticated or authorized endpoints to eliminate potential attack surfaces from external actors.
  • Apply network segmentation or firewall rules to limit external access to the n8n server and monitor for unusual webhook requests that may indicate exploitation attempts.

Generated by OpenCVE AI on August 24, 2026 at 16:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v4pr-fm98-w9pg n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
History
Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
Description n8n is an open source workflow automation platform. Versions 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. This issue is fixed in version 1.121.0. n8n is 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. This issue is fixed in version 1.121.0.
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared N8n
N8n n8n
Vendors & Products N8n
N8n n8n
Type Values Removed Values Added
Description n8n is an open source workflow automation platform. Versions 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. This issue is fixed in version 1.121.0.
Title n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 12, 2026, 6:37 PM
Reserved
Jan 5, 2026, 4:44 PM
Status
Analyzed
Published
Jan 8, 2026, 12:15 AM
Modified
Jun 17, 2026, 10:19 AM