Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-21858

CVE-2026-21858: n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling

January 7, 2026 (updated January 13, 2026)

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.

References

  • github.com/advisories/GHSA-v4pr-fm98-w9pg
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/security/advisories/GHSA-v4pr-fm98-w9pg
  • nvd.nist.gov/vuln/detail/CVE-2026-21858
  • www.cyera.com/research-labs/ni8mare-unauthenticated-remote-code-execution-in-n8n-cve-2026-21858

Code Behaviors & Features

Detect and mitigate CVE-2026-21858 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.65.0 before 1.121.0

Fixed versions

  • 1.121.0

Solution

Upgrade to version 1.121.0 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/n8n/CVE-2026-21858.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:25 +0000.