All vulnerabilities

Servers and applications

CVE-2025-68697

n8n is an open source workflow automation platform. Prior to version 2.0.0, in self-hosted n8n instances where the Code node runs in legacy (non-task-runner) JavaScript execution mode, authenticated users with workflow editing access can invoke internal helper functions from within the Code node. This allows a workflow editor to perform actions on the n8n host with the same privileges as the n8n…

Severity
Medium 5.4
Published
26 Dec 2025
Last changed
13 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.0.0
Exploit chance
0.3% in the next 30 daysHigher than 18% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper privilege management (CWE-269)CWE-749
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Sources
NVD

Description

n8n is an open source workflow automation platform. Prior to version 2.0.0, in self-hosted n8n instances where the Code node runs in legacy (non-task-runner) JavaScript execution mode, authenticated users with workflow editing access can invoke internal helper functions from within the Code node. This allows a workflow editor to perform actions on the n8n host with the same privileges as the n8n process, including: reading files from the host filesystem (subject to any file-access restrictions configured on the instance and OS/container permissions), and writing files to the host filesystem (subject to the same restrictions). This issue has been patched in version 2.0.0.

From NVD. Shortened; the full text is there.

Affected software

SoftwareAffected versions
n8nServers and applications · cpe:a:n8n:n8n
  • Every version before 2.0.0

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-68697
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-68697