# CVE-2026-42230: n8n: Open Redirect in MCP OAuth Consent Flow

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:L/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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-04-29T21:10:17.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-f6x8-65q6-j9m9
- Weaknesses: CWE-601
- 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 versions 1.123.32, 2.17.4, and 2.18.1, the /mcp-oauth/register endpoint accepted OAuth client registrations without authentication, allowing arbitrary redirect_uri values to be registered. When a user denies the MCP OAuth consent dialog, the handleDeny handler redirects the user to the registered redirect_uri without validation, enabling an open redirect to an attacker-controlled URL. An attacker can craft a phishing link and send it to a victim; if the victim clicks "Deny" on the consent page, they are silently redirected to an external site. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.123.32; >= 2.17.0, < 2.17.4; >= 2.18.0, < 2.18.1
- n8n (npm): before 1.123.32; from 2.18.0 before 2.18.1; from 2.0.0 before 2.17.4
- n8n n8n: before 1.123.32; from 2.17.0 before 2.17.4; 2.18.0

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-f6x8-65q6-j9m9> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42230> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-42230](https://www.cve.org/CVERecord?id=CVE-2026-42230), CVE Terms of Use, modified 2026-05-04
- GitHub Advisory Database: [GHSA-f6x8-65q6-j9m9](https://github.com/advisories/GHSA-f6x8-65q6-j9m9), CC-BY-4.0, modified 2026-05-08
- NVD: [CVE-2026-42230](https://nvd.nist.gov/vuln/detail/CVE-2026-42230), Public domain, modified 2026-11-11

---

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