Security Resilience

CVE-2026-27494

N8N ≤ 1.123.22

Published
25 February 2026
Modified
05 March 2026
Patch / advisory
CVSS Score v4 7.1
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/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.0076 52th percentile
Risk Priority 37 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-27494 is a high-severity Exposure of Sensitive System Information to an Unauthorized Control Sphere (CWE-497) vulnerability in N8N. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Account Discovery (T1087); ranked in the top 48% of CVEs by exploit likelihood; 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.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-27494 is a sandbox escape vulnerability in n8n, an open source workflow automation platform. Affecting versions prior to 2.10.1, 2.9.3, and 1.123.22, the issue resides in the Python Code node, which fails to sufficiently restrict access to certain built-in Python objects. This allows an authenticated user with permission to create or modify workflows to bypass sandbox protections, enabling file content exfiltration or remote code execution (RCE). The vulnerability carries a CVSS v3.1 base score of 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) and is associated with CWE-497 (Legacy Detected: Side Channel Information Leak).

An attacker requires low-privilege authentication and workflow creation or modification permissions to exploit this via a malicious Python Code node. On default configurations using internal Task Runners, successful exploitation leads to full compromise of the n8n host. In setups with external Task Runners enabled via the N8N_RUNNERS_ENABLED=true environment variable, the attacker could gain access to or disrupt other tasks executed on the Task Runner.

The vulnerability is patched in n8n versions 2.10.1, 2.9.3, and 1.123.22; users are advised to upgrade immediately. As interim mitigations, administrators should restrict workflow creation and editing to fully trusted users and/or disable the Code node by setting the NODES_EXCLUDE environment variable to include n8n-nodes-base.code. These workarounds provide only partial protection and are not substitutes for patching. Details are available in the n8n security advisory (GHSA-mmgg-m5j7-f83h) and release notes for the fixed versions.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, an authenticated user with permission to create or modify workflows could use the Python Code node to escape the sandbox. The sandbox did not sufficiently…

more

restrict access to certain built-in Python objects, allowing an attacker to exfiltrate file contents or achieve RCE. On instances using internal Task Runners (default runner mode), this could result in full compromise of the n8n host. On instances using external Task Runners, the attacker might gain access to or impact other task executed on the Task Runner. Task Runners must be enabled using `N8N_RUNNERS_ENABLED=true`. The issue has been fixed in n8n versions 2.10.1, 2.9.3, and 1.123.22. Users should upgrade to this version or later to remediate the vulnerability. If upgrading is not immediately possible, administrators should consider the following temporary mitigations. Limit workflow creation and editing permissions to fully trusted users only., and/or disable the Code node by adding `n8n-nodes-base.code` to the `NODES_EXCLUDE` environment variable. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1518 Software Discovery Discovery
Adversaries may attempt to get a listing of software and software versions that are installed on a system or in a cloud environment.
T1528 Steal Application Access Token Credential Access
Adversaries can steal application access tokens as a means of acquiring credentials to access remote systems and resources.
T1592 Gather Victim Host Information Reconnaissance
Adversaries may gather information about the victim's hosts that can be used during targeting.
T1592.002 Software Reconnaissance
Adversaries may gather information about the victim's host software that can be used during targeting.
T1592.004 Client Configurations Reconnaissance
Adversaries may gather information about the victim's client configurations that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-77076Same product: N8N N8N
CVE-2026-56348Same product: N8N N8N
CVE-2026-65593Same product: N8N N8N
CVE-2026-56358Same product: N8N N8N
CVE-2026-33749Same product: N8N N8N
CVE-2026-56356Same product: N8N N8N
CVE-2026-65597Same product: N8N N8N
CVE-2026-65592Same product: N8N N8N
CVE-2025-46343Same product: N8N N8N
CVE-2026-56359Same product: N8N N8N

Affected Assets

n8n
n8n
≤ 1.123.22 · 2.0.0 — 2.9.3 · 2.10.0 — 2.10.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.1.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces approved authorizations for logical access, directly stopping unauthorized actors from reaching sensitive system information.

Enforces information flow policies that block sensitive system data from crossing into unauthorized control spheres.

Limits privileges so that only the minimum necessary access is granted, reducing the chance of exposing system-level details.

Controls communications at external and key internal boundaries to keep sensitive system information inside authorized spheres.

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 mostly match
blocks

Enforcing least-privilege access permissions directly prevents unauthorized actors from reaching sensitive system information.

PR.IR-01 mostly match
blocks

Protecting environments from unauthorized logical access stops exposure of internal system details to outsiders.

PR.PS-06 partial match
blocks

Secure-development practices reduce the chance of code paths that leak sensitive system information.

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

A.8.29's SOURCE+RUNTIME programme (SAST, code review, penetration testing, dynamic testing) reaches the bulk of CWE-497 instances — the patterns are literal in source (e.printStackTrace, getenv+output, system() exposing process info, connection strings in logs) and observable at runtime by triggering errors; the remainder is nameable (subtle disclosures via timing, response-size differences, or complex conditional logic that don't match obvious patterns).

prevents

Training developers to avoid exposing system information in error messages, debug output, and diagnostic functions reduces some instances of CWE-497, but as a fallible human practice it cannot reach the bulk of cases the way a mechanism-based control can.

prevents

A.8.28's secure coding guidance directly addresses this implementation defect — prohibiting insecure design techniques, removing programming defects, and analysing common programming errors would cover not exposing stack traces, environment variables, or system paths in error output — but the clause mandates a practice whose effect depends on developer rigour, so it catches a minority of instances, consistent with the A.8.28 ceiling on coding defects.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) it contractually requires of the supplier, and those practices cover not exposing system information in error messages, debug output or exception handlers — the same mechanism that graded A.8.30 -> CWE-134 `partial` and A.8.28 -> CWE-79 `partial`; the clause reduces instances but the practices are fallible and the ceiling for A.8.30 on this verb is `partial`.

prevents

A.8.5 items (a) and (c) directly prevent sensitive system information and help messages from being displayed during the log-on procedure, which is a real slice of CWE-497; the remainder — system information exposed through error handling, debugging output, diagnostic messages, and logging elsewhere in the product — is outside the clause's scope.

blocks

A.8.9's standard templates and monitoring can configure production systems to disable debug mode, suppress verbose error pages, and restrict diagnostic output, blocking some exploitation paths for CWE-497; however, the underlying code defects (stack traces, environment variables, system paths printed by application code) remain present and many instances—particularly in custom code and third-party components—are not reachable through configuration settings alone.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (2 partial rules)
  • V-248551 A sticky bit must be set on all OL 8 public directories to prevent unauthorized and unintended information transferred via shared system resources. blocks CWE-497
  • V-248580 OL 8 must prevent kernel profiling by unprivileged users. blocks CWE-497
RHEL 8 (1 rule)
  • V-230270 RHEL 8 must prevent kernel profiling by unprivileged users. blocks CWE-497
Ubuntu 22.04 (1 partial rule)
  • V-260470 Ubuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes. blocks CWE-497
Ubuntu 24.04 (1 partial rule)
  • V-270675 Ubuntu 24.04 LTS when booted must require authentication upon booting into single-user and maintenance modes. blocks CWE-497

References