Security Resilience

CVE-2026-54311

N8N ≤ 2.25.7

Published
23 June 2026
Modified
26 October 2026
Patch / advisory
CVSS Score v4 6.0
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0039 25th percentile
Risk Priority 28 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-54311 is a medium-severity Exposure of Data Element to Wrong Session (CWE-488) vulnerability in N8N. Its CVSS base score is 6.0 (Medium).

Operationally, ranked at the 25th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could pollute the sandbox used by the Merge node's SQL Query mode. Because the sandbox context was…

more

cached and reused across all workflow executions on the instance, prototype mutations introduced by one user's workflow persist into subsequent Merge SQL executions belonging to other users or projects. This allowed a low-privileged attacker to intercept workflow data processed by other users on the same instance. This issue only affects multi-user n8n instances where more than one user has permission to create and execute workflows containing the Merge node in SQL Query mode. This vulnerability is fixed in 2.25.7 and 2.26.2.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-68697Same product: N8N N8N
CVE-2026-27494Same product: N8N N8N
CVE-2025-62726Same product: N8N N8N
CVE-2026-33696Same product: N8N N8N
CVE-2026-86075Same product: N8N N8N
CVE-2025-57749Same product: N8N N8N
CVE-2026-54307Same product: N8N N8N
CVE-2026-65016Same product: N8N N8N
CVE-2026-77071Same product: N8N N8N
CVE-2026-1470Same product: N8N N8N

Affected Assets

n8n
n8n
≤ 2.25.7 · 2.26.0 — 2.26.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 enforces access decisions that can be scoped to the correct session context.

AC-4 controls information flows between entities, reducing cross-session leakage.

SC-4 directly stops unintended transfer of data through shared resources that different sessions may access.

SC-39 isolates execution domains so one session cannot reach another's state or data.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 partial match
blocks

Enforcing authorization policies and least privilege can prevent cross-session data exposure when session separation is treated as an access rule.

PR.DS-10 partial match
blocks

Protecting data-in-use directly addresses runtime leakage of session data to unauthorized contexts.

PR.IR-01 partial match
blocks

Logical access controls and segmentation can be applied to isolate session state within applications or environments.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect the weakness but does not itself implement the preventive control.

prevents

Secure coding standards mandate correct session handling to prevent exposure of data elements to the wrong session.

prevents

A.8.30 governs the contractual and oversight relationship with an outsourced developer, requiring secure coding practices to be specified and evidence to be provided, but it does not itself prevent a developer from introducing a session-data race condition in the code.

References