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

CVE-2026-45732: n8n Has a Cross-user Authorization Bypass in Dynamic Credential OAuth Endpoints

May 14, 2026

The OAuth1 and OAuth2 credential reconnect endpoints authorized access using credential:read rather than credential:update. An authenticated user with read-only access to a shared credential could initiate an OAuth reconnect flow and overwrite the stored token material for that credential with tokens bound to an external account they control. Workflows relying on the affected credential would subsequently execute under the attacker’s OAuth identity, enabling data exfiltration to attacker-controlled external services and persistent takeover of shared integrations.

This issue affects instances where credentials are shared with other users or across projects.

References

  • github.com/advisories/GHSA-6h4j-wcr9-2vg7
  • github.com/n8n-io/n8n/security/advisories/GHSA-6h4j-wcr9-2vg7
  • nvd.nist.gov/vuln/detail/CVE-2026-45732

Code Behaviors & Features

Detect and mitigate CVE-2026-45732 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 before 1.123.43, all versions starting from 2.0.0-rc.0 before 2.20.7, all versions starting from 2.21.0 before 2.21.1

Fixed versions

  • 1.123.43
  • 2.20.7
  • 2.21.1

Solution

Upgrade to versions 1.123.43, 2.20.7, 2.21.1 or above.

Impact 7.7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

npm/n8n/CVE-2026-45732.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:25:00 +0000.