Medium · published August 20, 2026
n8n before 1.123.69, 2.33.4, and 2.34.1 contains an SSRF protection bypass in the OAuth2 credential authorization-code-to-access-token exchange. While OAuth2 discovery and dynamic-client-registration requests use n8n's SSRF-protected HTTP client, the token exchange uses a separate client with no SSRF guard. A user with credential-creation permissions can set the access-token URL to an internal address and complete the OAuth2 flow, causing n8n to send a fixed-shape token-exchange POST to that target and reflect its response body back to the attacker (limited to what the target returns to this specific request).
| Product | Versions | Fixed in |
|---|---|---|
| n8n/n8n | < 1.123.69 | 1.123.69 |
| n8n/n8n | ≥ 2.33.0, < 2.33.4 | 2.33.4 |
| n8n/n8n | all versions | — |