Advisory

GHSA-ggjm-f3g4-rwmm

Also known as: CVE-2025-57749

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-20 19:09 UTC
Modified
2025-08-21 04:07 UTC

Affected packages and fixes

n8n

npm · All systems

Affected

  • introduced 0, fixed 1.106.0 (semver)

Fixed versions

1.106.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences