CVE-2026-137958: n8n before 2.47.6, 2.48.3, and 3.2.2 SSRF via AWS Bedrock Custom Runtime Endpoint
n8n before 2.47.6, 2.48.x before 2.48.3, and 3.x before 3.2.2 contains a server-side request forgery vulnerability in the AWS Bedrock Chat Model and Embeddings AWS Bedrock nodes, where requests to a custom Bedrock runtime endpoint set in an AWS credential bypass n8n's SSRF protection. An authenticated user who can create AWS credentials can point the endpoint at internal or blocked addresses, causing n8n to send requests there and exposing the start of responses in node errors.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated n8n user must be able to create AWS credentials. The issue is exercised through the AWS Bedrock Chat Model or Embeddings AWS Bedrock nodes using a custom Bedrock runtime endpoint.
What can an attacker do with successful exploitation?
The attacker can cause n8n to send requests to internal or otherwise blocked addresses selected as the custom endpoint. The beginning of the target response may be exposed through node errors.
Which versions should be remediated?
Affected versions are n8n releases before 2.47.6, 2.48.x before 2.48.3, and 3.x before 3.2.2. Upgrade to the applicable fixed release.
What mitigation is available if an upgrade cannot happen immediately?
Restrict the ability to create AWS credentials to trusted users. This prevents untrusted authenticated users from configuring a custom Bedrock runtime endpoint for exploitation.