CVE-2026-86073

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

State
Published
Severity
5.9 Medium
Published
Sep 8, 2026
Updated
Sep 9, 2026
Reserved
Sep 4, 2026

Read the record on cve.org

Description

n8n is an open source workflow automation platform. Prior to 2.37.7 and 2.38.1, the OAuth token endpoint bound an authorization code's first access token to the consented resource but did not bind its refresh token. Refreshing checked only that the requested resource was registered, not that it matched the original grant. An OAuth client approved for one workflow could substitute a different workflow URL in the resource parameter and obtain a valid token for an unapproved workflow accessible to the consenting user. This issue is fixed in versions 2.37.7 and 2.38.1.

Scores

CVSSScoreVectorSource
4.05.9 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

Affected Products

ProductVersions
n8nn8n-io
  • < 2.37.7Affected
  • >= 2.38.0, < 2.38.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.