PT-2025-53606

CVE-2025-68697

·

Published

2025-12-26

·

Updated

2026-10-13

Description by

CVSS 3.1
7.1
High
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Name of the Vulnerable Software and Affected Versions n8n versions prior to 2.0.0
Description n8n is a workflow automation platform. In self-hosted instances before version 2.0.0, when the Code node operates in legacy JavaScript execution mode, authenticated users with workflow editing permissions can execute internal functions within the Code node. This allows workflow editors to perform actions on the host system with the same privileges as the n8n process, including reading and writing files, subject to file access restrictions and OS/container permissions. Mitigation strategies include restricting file access to a dedicated directory using the N8N RESTRICT FILE ACCESS TO variable, ensuring the N8N BLOCK FILE ACCESS TO N8N FILES variable is set to true, and disabling high-risk nodes like the Code node using the NODES EXCLUDE variable if workflow editors are not fully trusted.
Recommendations Upgrade to version 2.0.0 or later. Set the N8N RESTRICT FILE ACCESS TO variable to a dedicated directory containing no sensitive data. Ensure the N8N BLOCK FILE ACCESS TO N8N FILES variable is set to true. Disable the Code node using the NODES EXCLUDE variable if workflow editors are not fully trusted.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-J4P8-H8MH-RH8Q
Found an issue in the description? Have something to add? Feel free to write us 👾