GHSA-ggjm-f3g4-rwmm

Suggest an improvement
Source
https://github.com/advisories/GHSA-ggjm-f3g4-rwmm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-ggjm-f3g4-rwmm/GHSA-ggjm-f3g4-rwmm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ggjm-f3g4-rwmm
Aliases
Published
2025-08-20T19:09:55Z
Modified
2025-08-21T04:07:03Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
n8n symlink traversal vulnerability in "Read/Write File" node allows access to restricted files
Details

Impact

A symlink traversal vulnerability was discovered in the Read/Write File node in n8n. While the node attempts to restrict access to sensitive directories and files, it does not properly account for symbolic links (symlinks). An attacker with the ability to create symlinks—such as by using the Execute Command node—could exploit this to bypass the intended directory restrictions and read from or write to otherwise inaccessible paths. Users of n8n.cloud are not impacted.

Patches

Affected users should update to version 1.106.0 or later.

Workarounds

Until the patch is applied:

  • Disable or restrict access to the Execute Command node and any other nodes that allow arbitrary file system access.
  • Avoid using the Read/Write File node on untrusted paths or inputs that could be manipulated via symlinks.
Database specific
{
    "cwe_ids":  [
        "CWE-59",
        "CWE-61"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-08-20T19:09:55Z",
    "nvd_published_at":  "2025-08-20T22:15:29Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.106.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-ggjm-f3g4-rwmm/GHSA-ggjm-f3g4-rwmm.json"