Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| nanocoai / nanoclaw | affected 0 before 2.1.17; unaffected 2.1.17 |
CWE
CWE-59
References
- https://github.com/nanocoai/nanoclaw/pull/2468
- https://github.com/nanocoai/nanoclaw/commit/28032bc0eca76c91fb3d8be0013e8bcaf2f5aeae
- https://www.vulncheck.com/advisories/nanoclaw-arbitrary-file-read-via-symlink-following-in-forwardattachedfiles
ADP enrichment
No English description supplied.
No references supplied.