NanoClaw < 2.1.17 - Arbitrary File Read via Symlink Following in forwardAttachedFiles
nanocoai nanoclaw
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nanocoai nanoclaw |
|
|
Original description
NanoClaw before 2.1.17 contains a symlink following vulnerability in forwardAttachedFiles that allows container-controlled agents to exfiltrate host-readable files. The host validates attachment filenames using only isSafeAttachmentName before copying with fs.copyFileSync, which follows symlinks without containment checks, allowing malicious agents to disclose arbitrary host files.
From the CVE record · VulnCheck