AWS Bedrock Nodes Skip SSRF Protection for Custom Runtime Endpoints
Summary
Impact
The AWS Bedrock Chat Model and Embeddings AWS Bedrock nodes let an AWS credential set a custom Bedrock runtime endpoint. Requests to that endpoint did not go through n8n's SSRF protection. A member who could create an AWS credential could point the endpoint at an internal or otherwise blo...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmn8n |
< 2.48.3→ >= 2.48.3 |
>= 2.48.3 |
| npmn8n |
< 2.47.6→ >= 2.47.6 |
>= 2.47.6 |
| npmn8n |
< 3.2.2→ >= 3.2.2 |
>= 3.2.2 |
Original description The description as published by the source.
Impact
The AWS Bedrock Chat Model and Embeddings AWS Bedrock nodes let an AWS credential set a custom Bedrock runtime endpoint. Requests to that endpoint did not go through n8n's SSRF protection. A member who could create an AWS credential could point the endpoint at an internal or otherwise blocked address and make n8n send requests to it, and could see the start of the response in the node error.
Patches
The issue has been fixed in n8n versions 2.47.6, 2.48.3 and 3.2.2. 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.
- Audit AWS credentials and remove any custom Bedrock Runtime Endpoint that is not expected.
- Apply network-level controls to restrict outbound connections from the n8n host to internal addresses.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY n8n-io/n8n