CVE-2025-55526CWE-22path-traversal

CVE-2025-55526

Critical · published August 26, 2025

CVSS v3.1
9.1
EPSS
1%
Percentile
56.6
In the wild
Unconfirmed
What it is

🚨 A crafty directory traversal bug lurking in n8n's workflows could let attackers peek into sensitive files — who knew the download_workflow function could be a backdoor? 🔥 Think of it like a delivery driver who follows a vague address and ends up opening the back door of a secure warehouse instead of the front — they could grab anything without raising alarms! This is absolutely devastating! An attacker could access and read any file on the server's filesystem, potentially exposing sensitive data or configuration files. The risks here are astronomical, as it could lead to full system compromise if critical data falls into the wrong hands.

Put simply

Think of it like a delivery driver who follows a vague address and ends up opening the back door of a secure warehouse instead of the front — they could grab anything without raising alarms! This vulnerability allows for directory traversal via the download_workflow function in api_server.py, enabling attackers to gain unauthorized access to files beyond the intended directory, exploiting improper input validation.

What to do

This is absolutely devastating! An attacker could access and read any file on the server's filesystem, potentially exposing sensitive data or configuration files. The risks here are astronomical, as it could lead to full system compromise if critical data falls into the wrong hands. To protect your application, patch n8n-workflows to the latest version immediately. Review your access controls and input validation processes to ensure they restrict file access as intended. This is crucial to safeguard against possible exploits! You've got this! Follow these steps, and you'll have your system locked down tight in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00816 · 56.6th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-08-26T18:15Z
Affected products (1)
ProductVersionsFixed in
zie619/n8n_workflow_collectionall versions—
References (1)
EPSS history
Timeline
  • 26 AUG 00:00Z
    n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function within api_server.py
    cvelistv5