CVE-2026-56352: n8n - Arbitrary File Read and Execution via ExecuteWorkflow localFile Parameter

Published Jul 15, 2026
·
Updated

n8n before 2.19.3 contains a file path restriction bypass in the legacy ExecuteWorkflow node's localFile source option, which reads workflow files from disk without the file-access checks enforced by other file-reading nodes. Although hidden from the UI since v1.2, it remains reachable via the REST API. An authenticated user with permission to create or modify workflows can supply an arbitrary file path to bypass the N8NRESTRICTFILEACCESSTO restriction and determine whether arbitrary files exist on the host; where the targeted path contains a valid workflow JSON file, that file can additionally be loaded and executed.

Affected Software

1 affected component
n8n n8n<2.19.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.19.3
  2. Compensating control

    Restrict access to the n8n REST API so only trusted users/systems can authenticate with permissions to create/modify workflows (since authenticated users with those permissions can reach the vulnerable ExecuteWorkflow localFile parameter and bypass N8N_RESTRICT_FILE_ACCESS_TO).

Event History

Jul 15, 2026
CVE Published
via MITRE·11:25 AM
Data Sourced
via MITRE·11:25 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56352?

The severity of CVE-2026-56352 is classified as medium with a score of 5.3.

2

How do I fix CVE-2026-56352?

To fix CVE-2026-56352, upgrade n8n to version 2.19.3 or later, which addresses the file path restriction bypass.

3

What is the risk associated with CVE-2026-56352?

CVE-2026-56352 has a risk score of 39, indicating a significant potential threat.

4

What type of vulnerability is CVE-2026-56352?

CVE-2026-56352 is a path traversal vulnerability allowing arbitrary file read and execution.

5

Which versions of n8n are affected by CVE-2026-56352?

n8n versions before 2.19.3 are affected by CVE-2026-56352.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203