Skip to content

CVE-2026-42226 n8n: Credential Authorization Bypass in dynamic-node-parameters Allows Foreign API Key Replay

HighCVSS 7.1 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

n8n is an open source workflow automation platform. Prior to versions 1.123.33 and 2.17.5, the dynamic-node-parameters endpoints did not verify whether the authenticated caller was authorized to use a supplied credential reference. An authenticated user with access to a shared workflow could supply a foreign credential ID in the request body, causing the backend to decrypt and use that credential in a helper execution path where the caller also controls the destination URL. This allowed the caller to force the backend to authenticate against attacker-controlled infrastructure using a credential belonging to another user, effectively exfiltrating a reusable API key. The issue is not limited to any single node type; any node that resolves credentials dynamically through these endpoints may be affected. This issue has been patched in versions 1.123.33, 2.17.5, and 2.18.0.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n < 1.123.33; >= 2.17.0, < 2.17.5 1.123.33, 2.17.5 Fixed
npm n8n(npm) < 1.123.33; >= 2.17.0, < 2.17.5 1.123.33, 2.17.5 Fixed
n8n-io n8n = < 1.123.33; = >= 2.17.0, < 2.17.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
n8n-io n8n = < 1.123.33 No fix listed
n8n-io n8n = >= 2.17.0, < 2.17.5 No fix listed
npm n8n(npm) >= 2.17.0, < 2.17.5 2.17.5
npm n8n(npm) < 1.123.33 1.123.33
n8n < 1.123.33 1.123.33
n8n >= 2.17.0, < 2.17.5 2.17.5

References