CVE-2026-56692: Improper Link Resolution Before File Access ('Link Following') in nanocoai nanoclaw
NanoClaw versions before 2.1.17 contain a symlink following vulnerability in the forwardAttachedFiles function. This flaw allows container-controlled agents to exfiltrate files readable by the host system. The vulnerability arises because the host only validates attachment filenames with isSafeAttachmentName before copying files using fs.copyFileSync, which follows symlinks without containment checks. This can lead to disclosure of arbitrary host files.
AI Analysis
Technical Summary
CVE-2026-56692 is a symlink following vulnerability in NanoClaw prior to version 2.1.17. The issue exists in the forwardAttachedFiles function, where the host system validates attachment filenames solely with isSafeAttachmentName but then copies files using fs.copyFileSync. Since fs.copyFileSync follows symbolic links without verifying containment, a malicious container-controlled agent can cause the host to disclose arbitrary readable files by exploiting symlinks. This vulnerability allows unauthorized file exfiltration from the host environment.
Potential Impact
An attacker with container-level control can exploit this vulnerability to exfiltrate arbitrary files from the host system that are readable by the host process. This can lead to unauthorized disclosure of sensitive host data. The CVSS 4.0 score is 6.8 (medium severity), reflecting local attack vector with low complexity and no user interaction required, but high impact on confidentiality.
Mitigation Recommendations
There is no official fix or patch currently available for this vulnerability. Users should upgrade to NanoClaw version 2.1.17 or later once it is released, as versions before 2.1.17 are affected. Until a patch is available, restrict container privileges and avoid running untrusted agents that can control attachments. Monitor vendor advisories for updates on remediation.
CVE-2026-56692: Improper Link Resolution Before File Access ('Link Following') in nanocoai nanoclaw
Description
NanoClaw versions before 2.1.17 contain a symlink following vulnerability in the forwardAttachedFiles function. This flaw allows container-controlled agents to exfiltrate files readable by the host system. The vulnerability arises because the host only validates attachment filenames with isSafeAttachmentName before copying files using fs.copyFileSync, which follows symlinks without containment checks. This can lead to disclosure of arbitrary host files.
CVSS v4.0
Score 6.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-56692 is a symlink following vulnerability in NanoClaw prior to version 2.1.17. The issue exists in the forwardAttachedFiles function, where the host system validates attachment filenames solely with isSafeAttachmentName but then copies files using fs.copyFileSync. Since fs.copyFileSync follows symbolic links without verifying containment, a malicious container-controlled agent can cause the host to disclose arbitrary readable files by exploiting symlinks. This vulnerability allows unauthorized file exfiltration from the host environment.
Potential Impact
An attacker with container-level control can exploit this vulnerability to exfiltrate arbitrary files from the host system that are readable by the host process. This can lead to unauthorized disclosure of sensitive host data. The CVSS 4.0 score is 6.8 (medium severity), reflecting local attack vector with low complexity and no user interaction required, but high impact on confidentiality.
Mitigation Recommendations
There is no official fix or patch currently available for this vulnerability. Users should upgrade to NanoClaw version 2.1.17 or later once it is released, as versions before 2.1.17 are affected. Until a patch is available, restrict container privileges and avoid running untrusted agents that can control attachments. Monitor vendor advisories for updates on remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-22T17:09:16.555Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3aafb1eed863c81e44dd7c
Added to database: 06/23/2026, 16:09:21 UTC
Last enriched: 06/23/2026, 16:24:41 UTC
Last updated: 06/23/2026, 19:58:28 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.