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

- Severity: Medium 5.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-08T17:01:24.441Z
- Modified: 2026-09-11T18:07:39.963Z
- Also known as: GHSA-cw9w-vv67-hf73
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 2.37.7; >= 2.38.0, < 2.38.1
- n8n (npm): from 2.38.0 before 2.38.1; before 2.37.7
- n8n n8n: before 2.37.7; 2.38.0

## Every score

- GitHub_M: CVSS:4.0 5.9 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-cw9w-vv67-hf73> (mitigation, vendor-advisory, web)
- <https://github.com/n8n-io/n8n/pull/37122> (issue-tracking, web)
- <https://github.com/n8n-io/n8n/pull/37588> (issue-tracking, web)
- <https://github.com/n8n-io/n8n/commit/18458482861097a26f874f30ad7e8136e268475c> (patch, web)
- <https://github.com/n8n-io/n8n/commit/380788fd9a3264c83161e868026a98731d274d88> (patch, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7> (release-notes, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-86073> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-86073](https://www.cve.org/CVERecord?id=CVE-2026-86073), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-cw9w-vv67-hf73](https://github.com/advisories/GHSA-cw9w-vv67-hf73), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-86073](https://nvd.nist.gov/vuln/detail/CVE-2026-86073), Public domain, modified 2026-09-11

---

Page: https://cve.day/CVE-2026-86073 · Whole record: https://cve.day/CVE-2026-86073.json · Rebuilt by cve.day 2026-11-25T22:59:36.633Z
