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

CVE-2026-42226: n8n's Credential Authorization Bypass in dynamic-node-parameters Allows Foreign API Key Replay

April 29, 2026 (updated May 8, 2026)

The dynamic-node-parameters endpoints did not verify whether the authenticated caller was authorized to use a supplied credential reference. An authenticated user with access to a shared workflow could supply a foreign credential ID in the request body, causing the backend to decrypt and use that credential in a helper execution path where the caller also controls the destination URL. This allowed the caller to force the backend to authenticate against attacker-controlled infrastructure using a credential belonging to another user, effectively exfiltrating a reusable API key.

The issue is not limited to any single node type; any node that resolves credentials dynamically through these endpoints may be affected.

References

  • github.com/advisories/GHSA-r4v6-9fqc-w5jr
  • github.com/n8n-io/n8n/security/advisories/GHSA-r4v6-9fqc-w5jr
  • nvd.nist.gov/vuln/detail/CVE-2026-42226

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.123.33, all versions starting from 2.17.0 before 2.17.5

Fixed versions

  • 1.123.33
  • 2.17.5

Solution

Upgrade to versions 1.123.33, 2.17.5 or above.

Impact 8.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

npm/n8n/CVE-2026-42226.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:00 +0000.