Impact
n8n's OAuth2 credential flow routed discovery and dynamic-client-registration requests through its SSRF-protected HTTP client, but the authorization-code-to-access-token exchange used a separate HTTP client with no SSRF guard. Any user able to create a credential could point its access-token URL at an internal address and complete the OAuth2 flow themselves, which caused n8n to send its fixed-shape token-exchange POST there. The attacker could not control the request's method, headers, or body beyond the OAuth2 exchange's own fields. The internal target's response was reflected back to them, but only to the extent that target responded usefully to this specific request shape, which bounded both what could be probed and what could be learned.
Patches
The issue has been fixed in n8n versions 1.123.69, 2.33.4, and 2.34.1. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Restrict network egress from the n8n host to block access to internal and link-local address ranges at the network level.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Impact
n8n's OAuth2 credential flow routed discovery and dynamic-client-registration requests through its SSRF-protected HTTP client, but the authorization-code-to-access-token exchange used a separate HTTP client with no SSRF guard. Any user able to create a credential could point its access-token URL at an internal address and complete the OAuth2 flow themselves, which caused n8n to send its fixed-shape token-exchange POST there. The attacker could not control the request's method, headers, or body beyond the OAuth2 exchange's own fields. The internal target's response was reflected back to them, but only to the extent that target responded usefully to this specific request shape, which bounded both what could be probed and what could be learned.
Patches
The issue has been fixed in n8n versions 1.123.69, 2.33.4, and 2.34.1. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.