CVE & CISA-KEV Catalog

CVE-2025-68697

HIGH
7.1
CVSS v3
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. Workarounds for this issue involve limiting file operations by setting N8N_RESTRICT_FILE_ACCESS_TO to a dedicated directory (e.g., ~/.n8n-files) and ensure it contains no sensitive data, keeping N8N_BLOCK_FILE_ACCESS_TO_N8N_FILES=true (default) to block access to .n8n and user-defined config files, and disabling high-risk nodes (including the Code node) using NODES_EXCLUDE if workflow editors are not fully trusted.

How to fix

Remediation Available
n8nNVD
Affected:< 2.0.0Fixed in:2.0.0CVE-2025-68697derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Exploit Intelligence

0.27%probability of exploitation in 30 days
19thpercentile

Low risk: more likely to be exploited than 19% of all known CVEs.

References

Related Vulnerabilities

Other CWE-269 (Improper Privilege Management) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-12635Critical9.8100%-Fix
CVE-2022-24637Critical9.899%-Fix
CVE-2017-5689Critical9.892%KEVFix
CVE-2020-3243Critical9.888%--
CVE-2024-21888High8.887%--
CVE-2022-0441Critical9.885%-Fix

Common questions

How do I fix CVE-2025-68697?

Upgrade n8n to 2.0.0 or later.

Is CVE-2025-68697 being actively exploited?

Not that we know of. CVE-2025-68697 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.27% is the estimated probability that it will be exploited in the next 30 days. That is higher than 19% of all scored CVEs.

How severe is CVE-2025-68697?

CVE-2025-68697 has a CVSS v3 base score of 7.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-68697 affect?

Published advisories record a fix for n8n (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2025-68697
CVE-2025-68697 severity badge

Markdown

[![CVE-2025-68697](https://tridentstack.com/cve/badge/CVE-2025-68697.svg)](https://tridentstack.com/cve/CVE-2025-68697)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-68697"><img src="https://tridentstack.com/cve/badge/CVE-2025-68697.svg" alt="CVE-2025-68697"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-31.