Skip to content
Medium 5.3

Integration Nodes Send Authenticated Requests to Unintended API Endpoints

GHSA-c772-hjfp-gfc2 First seen on SecPulse

Summary

Impact

Multiple n8n nodes built the URL path of their API requests from node parameters such as record, table or resource IDs. These values were not encoded, so a value containing relative path segments could change which endpoint of the same service the request reached. Where a workflow passed...

Affected packages

PackageAffected → Fixed
npmn8n
< 1.123.96→ >= 1.123.96
npmn8n
< 3.2.2→ >= 3.2.2
npmn8n
< 2.48.3→ >= 2.48.3
npmn8n
< 2.47.6→ >= 2.47.6
Original description The description as published by the source.

Impact

Multiple n8n nodes built the URL path of their API requests from node parameters such as record, table or resource IDs. These values were not encoded, so a value containing relative path segments could change which endpoint of the same service the request reached. Where a workflow passed untrusted input, such as a webhook body, into one of these parameters, a caller could make the node read, modify or delete resources outside the workflow's intended scope, with the privileges of the node's stored credential.

Patches

The issue has been fixed in n8n versions 1.123.96, 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 active workflows and ensure that node parameters holding record, table or resource IDs do not incorporate untrusted external data via expressions.
  • Apply network-level controls to restrict access to webhook endpoints that feed into these workflows.
  • Limit the permissions of the credentials used by affected workflows to the resources those workflows need.
  • Deactivate affected workflows until the instance is patched.

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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details