All reports
Critical

n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling

Affected versions

npmn8n
Affected versions
>= 1.65.0, < 1.121.0
Fixed version
1.121.0

Exploitation

CVE-2026-21858

Probability of exploitation in the next 30 days: 78.19%

FIRST EPSS · 2026-11-23

Description

Impact

A vulnerability in n8n allows 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. This could result in exposure of sensitive information stored on the system and may enable further compromise depending on deployment configuration and workflow usage.

Patches

The issue has been fixed in n8n version 1.121.0. Users should upgrade to this version or later to remediate the vulnerability.

Workarounds

No official workarounds are available. As a temporary mitigation, users may restrict or disable publicly accessible webhook and form endpoints until upgrading.

Links

Credits

  • dorattias