Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n with low-privileged account
-
DeliveryAccess or create workflow with Snowflake node
-
ExploitInject PUT or GET client-side command into Execute Query field
-
ExecutionSnowflake SDK executes command locally on n8n host filesystem
-
ImpactExfiltrate sensitive file via Snowflake stage or overwrite host file with staged payload
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two concurrent prerequisites: first, a valid authenticated n8n account with permission to create or edit workflows (PR:L); second, access to a configured and usable Snowflake credential within that n8n instance, either owned by the attacker or shared via n8n's credential-sharing mechanism. The vulnerability is triggered specifically through the Snowflake node's Execute Query input field when a client-side Snowflake directive (PUT or GET) is submitted - the flaw is that n8n does not strip or sandbox these commands before passing them to the Snowflake SDK. Exploitation is not possible for unauthenticated users, for authenticated users who lack access to any Snowflake connection, or on n8n deployments that have no Snowflake integrations configured. The file operations are bounded by the OS-level permissions of the n8n server process, so a hardened deployment running n8n as a low-privilege user with restricted filesystem access limits (but does not eliminate) the impact. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with a score of 8.7 accurately reflects a network-exploitable flaw requiring only low-privileged access - specifically an authenticated n8n account and access to a configured Snowflake credential. The high VC/VI/VA impact ratings are justified: file read can expose secrets, API keys, or n8n's own credential store, while file write can corrupt configuration files or application binaries, enabling further compromise. KEV listing is absent and no public exploit code has been identified at time of analysis, which modestly reduces urgency relative to a worst-case scenario. However, the absence of KEV should not be read as safety - the attack conditions are low-complexity once prerequisites are met, and the technique is well within the reach of any n8n user familiar with Snowflake's PUT/GET syntax. EPSS data was not provided in the input; exploitation probability should be treated as non-trivial given the straightforward nature of the attack. The CVSS score and real-world risk are well-aligned: this is not a case of inflated scoring, and organizations running multi-tenant or shared n8n instances where Snowflake connections are broadly accessible should treat this as urgent. |
| Exploit ScenarioDerived | An authenticated n8n user with access to a shared Snowflake credential opens or creates a workflow, adds a Snowflake node, and enters a Snowflake client-side GET command in the Execute Query field targeting a sensitive path on the n8n host - for example, retrieving n8n's environment file containing database credentials or API keys. The Snowflake SDK processes the GET command locally, transfers the file to a Snowflake stage, and the attacker retrieves it from there. No public exploit code has been identified at time of analysis, but the technique requires only knowledge of Snowflake's PUT/GET syntax and standard n8n workflow editing access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Arbitrary file read and write in n8n's Snowflake node allows an authenticated low-privileged user to exfiltrate or overwrite files on the n8n host by injecting Snowflake client-side commands (PUT/GET) into the Execute Query input field, bypassing n8n's own file-access restrictions. Affected versions span n8n before 1.123.69, all 2.x builds before 2.33.4, and 2.34.x before 2.34.1, as confirmed by vendor advisory GHSA-r4j2-j3wm-q689. No public exploit code has been identified at time of analysis, but the CVSS 4.0 score of 8.7 and the low barrier to exploitation - requiring only n8n credentials plus access to a Snowflake connection - make this a high-priority remediation.
RemediationAI
Upgrade n8n to version 1.123.69 or later on the 1.x branch, 2.33.4 or later on the 2.x branch, or 2.34.1 or later on the 2.34.x branch, as documented in the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-r4j2-j3wm-q689. If immediate patching is not feasible, revoke or rotate all Snowflake credentials configured in n8n and restrict workflow creation permissions so that only trusted users can add or modify Snowflake nodes - this limits the exploitable population but does not eliminate the underlying code path. Running n8n with a read-only or minimal filesystem mount (e.g., via Docker volume restrictions) reduces the impact of arbitrary file write at the cost of potentially breaking legitimate n8n operations that require filesystem access. These are partial compensating controls only; patch application remains the definitive fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is an open-source workflow automation platform that connects to external services through typed integration nodes. Its Snowflake node uses the Snowflake SDK/driver to execute SQL against Snowflake data warehouses. The Snowflake client driver supports special client-side directives - principally PUT (upload a local file to a Snowflake stage) and GET (download a staged file to the local filesystem) - that are processed entirely on the client machine rather than the Snowflake server. When n8n forwards free-form Execute Query input directly to the SDK, it inadvertently exposes these directives to workflow authors without applying the file-access sandboxing enforced elsewhere in n8n. The result is that a user who controls a Snowflake node's query input can read or write arbitrary paths on the n8n host process's filesystem. The assigned CWE-78 (OS Command Injection) captures the broader class of injecting interpreter-level commands through unsanitized input; in this instance the 'interpreter' is the Snowflake client driver rather than an OS shell. Affected CPE: cpe:2.3:a:n8n-io:n8n across multiple version branches.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-exploitable with low-privilege requirement (authenticated n8n user plus Snowflake credentials); scope unchanged as host filesystem access remains within n8n's own security authority.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n before 1.123.69, 2.x before 2.33.4, and 2.34.x before 2.34.1 contain an arbitrary file read and write vulnerability in the Snowflake node, which passes free-form Execute Query input, including client-side commands, directly to the Snowflake SDK without applying n8n's file-access restrictions. An authenticated user with usable Snowflake credentials can upload a local file from the n8n host or overwrite an existing file with a staged one.
Executive ViewAI
A high-severity vulnerability in n8n's Snowflake integration (CVSS 8.7) enables authenticated users with Snowflake connection access to read and write arbitrary files on n8n servers, risking exposure of sensitive business data and operational disruption. Organizations using n8n for workflow automation should prioritize immediate mitigation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-63268
GHSA-f4h2-4c4x-g885
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB