CVE-2026-54305
JSON

8.9high

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

Severity
8.9high CVSS:4.0 by GitHub_M
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2j5h-858j-5mpf

Description

n8n is an open source workflow automation platform. Prior to 1.123.55, 2.25.7, and 2.26.2, 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 vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.

Affected

Product or packageVersionsReported by
n8n-io n8n< 1.123.55, >= 2.0.0-rc.0, < 2.25.7, >= 2.26.0, < 2.26.2CVE List
n8n (npm)before 1.123.55, from 2.26.0 before 2.26.2, from 2.0.0-rc.0 before 2.25.7GitHub Advisory Database
n8n n8nbefore 1.123.55, from 2.0.0 before 2.25.7, from 2.26.0 before 2.26.2NVD

All scores

GitHub_M8.9high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
GitHub9.9high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
NVD9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Classification

CWE-200CWE-284

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

n8n is an open source workflow automation platform. Prior to 1.123.55, 2.25.7, and 2.26.2, 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 vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.

GitHub Advisory Database

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

NVD (es)

n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de las versiones 1.123.55, 2.25.7 y 2.26.2, tres puntos finales EE utilizados por la función de Credenciales Dinámicas aceptaban cualquier sesión n8n autenticada sin realizar comprobaciones de propiedad por recurso o de alcance en el flujo de trabajo o credencial objetivo. Un usuario autenticado sin membresía de proyecto o relación de compartición de credenciales podía enumerar identificadores, nombres y tipos de credenciales referenciados por cualquier flujo de trabajo privado en la instancia, iniciar un flujo de autorización OAuth contra la credencial de otro usuario para sobrescribir sus tokens almacenados con tokens vinculados a una cuenta que ellos controlan, o revocar completamente los tokens de credenciales almacenados de otro usuario. Los flujos de trabajo que dependían de una credencial secuestrada se ejecutarían posteriormente bajo la identidad OAuth del atacante, permitiendo la exfiltración de datos a servicios externos controlados por el atacante y la toma de control persistente de las integraciones. La revocación de tokens rompería los flujos de trabajo afectados. Esta vulnerabilidad está corregida en las versiones 1.123.55, 2.25.7 y 2.26.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54305 changed 2026-06-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-2j5h-858j-5mpf changed 2026-07-20CC-BY-4.0
NVDCVE-2026-54305 changed 2026-10-25Public domain