Skip to content
n8nGHSA-2j5h-858j-5mpf

n8n: Cross-Tenant Credential Takeover via Dynamic Credentials EE Endpoints

High9.9CVE-2026-54305 · Published Jun 16, 2026 · updated Jul 20, 2026

## Impact Three EE endpoints used by the Dynamic Credentials feature accepted any authenticated n8n session without performing per-resource ownership or scope checks on the target workflow or credential. An authenticated user with no project membership or credential sharing relationship could enumerate credential identifiers, names, and types referenced by any private workflow in the instance, initiate an OAuth authorization flow against another user's credential to overwrite its stored tokens with tokens bound to an account they control, or revoke another user's stored credential tokens entirely. Workflows relying on a hijacked credential would subsequently execute under the attacker's OAuth identity, enabling data exfiltration to attacker-controlled external services and persistent takeover of integrations. Token revocation would break affected workflows. This issue only affects Enterprise instances where the Dynamic Credentials feature is enabled. ## Patches The issue has been fixed in n8n versions 1.123.55, 2.25.7, and 2.26.2. Users should upgrade to one of these versions or later to remediate the vulnerability. ## Workarounds If upgrading is not immediately possible, admin...

GitHub advisory

Affected versions

PackageAffectedFixed in
n8n
npm
< 1.123.551.123.55
>= 2.26.0, < 2.26.22.26.2
>= 2.0.0-rc.0, < 2.25.72.25.7
Details and references

## Impact Three EE endpoints used by the Dynamic Credentials feature accepted any authenticated n8n session without performing per-resource ownership or scope checks on the target workflow or credential. An authenticated user with no project membership or credential sharing relationship could enumerate credential identifiers, names, and types referenced by any private workflow in the instance, initiate an OAuth authorization flow against another user's credential to overwrite its stored tokens with tokens bound to an account they control, or revoke another user's stored credential tokens entirely. Workflows relying on a hijacked credential would subsequently execute under the attacker's OAuth identity, enabling data exfiltration to attacker-controlled external services and persistent takeover of integrations. Token revocation would break affected workflows. This issue only affects Enterprise instances where the Dynamic Credentials feature is enabled. ## Patches The issue has been fixed in n8n versions 1.123.55, 2.25.7, and 2.26.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. - If the Dynamic Credentials feature is not actively required, disable it by unsetting `N8N_ENV_FEAT_DYNAMIC_CREDENTIALS`. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures. --- n8n has adopted CVSS 4.0 as primary score for all security advisories. CVSS 3.1 vector strings are provided for backwards compatibility. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Severity from
GitHub (reviewed advisory)
Weakness
CWE-200, CWE-284
Also known as
CVE-2026-54305

More n8n advisories

All n8n
Advisory
n8n: SecurityScorecard Node Leaks API Token to User-Controlled Host
High7.7Jun 16
n8n: MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions
High10.0Jun 16
n8n: Credential Exfiltration via Permission Bypass
High9.6Jun 16
n8n: Denial of Service via ZIP decompression in webhook workflow
Medium5.9Jun 16
n8n: Public API Execution Retry Authorization Bypass
Medium6.4Jun 16
n8n: Python Code Node AST Validator Bypass
Medium5.0Jun 16

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.