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

CVE-2026-86073: n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution

September 10, 2026

The OAuth token endpoint bound an authorization code’s first access token to the consented resource, but not its refresh token. Refreshing only checked that the requested resource was registered, not that it matched the original grant. An OAuth client approved for one workflow could refresh with a different workflow’s URL and get a valid, unapproved token for it. The patch binds refresh tokens to the granted resource and rejects mismatches.

Exploitation requires the attacker to register an OAuth client, convince an authenticated user to approve that client for one known protected resource, and know the URL of a second protected resource that the consenting user is permitted to execute.

References

  • github.com/advisories/GHSA-cw9w-vv67-hf73
  • github.com/n8n-io/n8n/commit/18458482861097a26f874f30ad7e8136e268475c
  • github.com/n8n-io/n8n/commit/380788fd9a3264c83161e868026a98731d274d88
  • github.com/n8n-io/n8n/pull/37122
  • github.com/n8n-io/n8n/pull/37588
  • github.com/n8n-io/n8n/releases/tag/n8n@2.37.7
  • github.com/n8n-io/n8n/releases/tag/n8n@2.38.1
  • github.com/n8n-io/n8n/security/advisories/GHSA-cw9w-vv67-hf73
  • nvd.nist.gov/vuln/detail/CVE-2026-86073

Code Behaviors & Features

Detect and mitigate CVE-2026-86073 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 2.37.7, all versions starting from 2.38.0 before 2.38.1

Fixed versions

  • 2.37.7
  • 2.38.1

Solution

Upgrade to versions 2.37.7, 2.38.1 or above.

Impact 7.6 HIGH

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

npm/n8n/CVE-2026-86073.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:20:22 +0000.