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

CVE-2026-21894: n8n's Missing Stripe-Signature Verification Allows Unauthenticated Forged Webhooks

January 7, 2026 (updated January 8, 2026)

An authentication bypass in the Stripe Trigger node allows unauthenticated parties to trigger workflows by sending forged Stripe webhook events.

The Stripe Trigger creates and stores a Stripe webhook signing secret when registering the webhook endpoint, but incoming webhook requests were not verified against this secret. As a result, any HTTP client that knows the webhook URL could send a POST request containing a matching event type, causing the workflow to execute as if a legitimate Stripe event had been received.

This issue affects n8n users who have active workflows using the Stripe Trigger node. An attacker could potentially fake payment or subscription events and influence downstream workflow behavior. The practical risk is reduced by the fact that the webhook URL contains a high-entropy UUID; however, authenticated n8n users with access to the workflow can view this webhook ID.

References

  • github.com/advisories/GHSA-jf52-3f2h-h9j5
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/commit/a61a5991093c41863506888336e808ac1eff8d59
  • github.com/n8n-io/n8n/pull/22764
  • github.com/n8n-io/n8n/security/advisories/GHSA-jf52-3f2h-h9j5
  • nvd.nist.gov/vuln/detail/CVE-2026-21894

Code Behaviors & Features

Detect and mitigate CVE-2026-21894 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 0.150.0 before 2.2.2

Fixed versions

  • 2.2.2

Solution

Upgrade to version 2.2.2 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing

Source file

npm/n8n/CVE-2026-21894.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:10 +0000.