VDB
EN
MEDIUM 6.5

GHSA-ggjm-f3g4-rwmm

n8n symlink traversal vulnerability in "Read/Write File" node allows access to restricted files

상세

### 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.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / n8n
최초 영향 버전: 0 수정 버전: 1.106.0
수정 npm install n8n@1.106.0

참고