CVE-2026-56692 PUBLISHED

NanoClaw < 2.1.17 - Arbitrary File Read via Symlink Following in forwardAttachedFiles

Assigner: VulnCheck
Reserved: 22.06.2026 Published: 23.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.8

Product Status

Vendor nanocoai
Product nanoclaw
Versions Default: unaffected
  • affected from 0 to 2.1.17 (excl.)
  • Version 2.1.17 is unaffected

Credits

  • Chia Min Jun Lennon finder

References

Problem Types

  • Improper Link Resolution Before File Access ('Link Following') CWE