Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAgent writes symlink with safe filename to outbox
-
DeliverySymlink passes isSafeAttachmentName filename check
-
ExploitAgent sends inter-agent message listing symlink as attachment
-
ExecutionforwardAttachedFiles calls fs.copyFileSync, dereferencing symlink to host file
-
PersistHost file contents written to destination agent inbox
-
ImpactAttacker reads exfiltrated host file from receiving agent
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires the attacker to control an agent process with write access to that agent's own outbox directory within a NanoClaw deployment (PR:L per CVSS 4.0 - low-privilege agent-level access). The attacker must also have OS-level permission to create symbolic links within the outbox directory; on most Linux deployments this is available to any process that owns the directory. The vulnerable code path is only reachable when inter-agent message forwarding with file attachments is in use - NanoClaw deployments that do not use the agent-to-agent attachment forwarding feature are not exposed via this path. Exploitation is bounded by the filesystem permissions of the NanoClaw host process: files readable only by root or other high-privilege users are not accessible unless NanoClaw itself runs with elevated privileges. No network access by the attacker is required; the attack is entirely local to the host running the NanoClaw process. |
| Impact | CVSS 4.0 scores this at 6.8 with AV:L/PR:L, accurately reflecting that exploitation is constrained to the local host and requires at minimum agent-process-level access - this is not a remotely exploitable, unauthenticated attack. The high confidentiality impact (VC:H) is well-calibrated: any file readable by the NanoClaw host process, including secrets, credentials, and private keys, can be exfiltrated. No EPSS score is provided, this CVE does not appear in CISA KEV, and no standalone POC exploit has been published, meaning active widespread exploitation is unconfirmed. However, the VulnCheck advisory combined with the PR diff amounts to a near-complete recipe for exploitation, so treating this as 'low exploitability' would understate realistic risk for organizations running NanoClaw in multi-tenant or untrusted-agent configurations. The primary risk scenario is a compromised or deliberately malicious agent process - a realistic threat model in AI agent orchestration platforms where third-party or user-supplied agents may execute. |
| Exploit ScenarioDerived | An attacker controlling an agent process creates a file named |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 23, 2026
Symlink following in NanoClaw's agent-to-agent file forwarding exposes arbitrary host-readable files to container-controlled agents. All releases before 2.1.17 are affected; the forwardAttachedFiles function validated attachment filenames with isSafeAttachmentName but called fs.copyFileSync without first resolving symlinks or confirming the resolved path remained inside the agent's outbox directory. A low-privileged agent can craft a symlink with a safe-looking filename, point it at any host file readable by the NanoClaw process, and receive its contents forwarded as a message attachment. No public exploit is identified at time of analysis, though the VulnCheck advisory and GitHub PR diff provide sufficient detail for a technically capable attacker to reproduce exploitation.
RemediationAI
Upgrade to NanoClaw 2.1.17 or later, which incorporates the symlink detection and path containment fix from PR #2468 (commit 28032bc0eca76c91fb3d8be0013e8bcaf2f5aeae); see https://github.com/nanocoai/nanoclaw/pull/2468. If immediate upgrade is not possible, restrict agent process filesystem permissions to the minimum required so that symlinks cannot be created pointing to sensitive host paths - note this may affect legitimate agent functionality. Alternatively, disable inter-agent file attachment forwarding at the application or network policy level if the feature is not operationally required; this eliminates the vulnerable code path entirely but removes legitimate file-sharing capability. Running the NanoClaw host process under a dedicated low-privilege user account with no access to secrets directories (e.g., /etc/ssh, credential stores) limits the blast radius should exploitation occur.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NanoClaw (cpe:2.3:a:nanocoai:nanoclaw) is an agent-to-agent orchestration platform that forwards file attachments between agent sessions via forwardAttachedFiles in src/modules/agent-to-agent/agent-route.ts. The root cause is CWE-59 (Improper Link Resolution Before File Access): fs.copyFileSync follows symbolic links by design, so any symlink placed in the source outbox directory is transparently dereferenced to its target before copying. The pre-patch code performed only a filename-safety check (isSafeAttachmentName) without calling fs.lstatSync to detect symlink file types or fs.realpathSync with a path-containment test. The fix introduces an isPathInside helper, rejects entries where lstatSync reports isSymbolicLink() === true on either the source directory or individual files, resolves real paths with realpathSync, and enforces that the resolved path falls within the expected outbox directory - addressing all layers of the path-traversal surface.
Know when Nanoclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local vector and low privileges required; scope change (S:C) because the agent escapes its outbox boundary to read host files; no integrity or availability impact applies.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Path traversal in NanoClaw's container filesystem boundary allows compromised containers or prompt-injected agents to es
Privilege escalation in NanoClaw before 2.1.17 lets remote attackers with a valid questionId approve or reject privilege
Privilege escalation in NanoClaw before 2.1.17 allows confined agent containers to bypass their architectural confinemen
Link-following (symlink) handling in NanoClaw's agent-to-agent attachment forwarding lets an authenticated, low-privileg
Improper authorization in nanocoai NanoClaw's add_mcp_server endpoint allows authenticated attackers with low privileges
Improper privilege management in NanoClaw (versions up to 2.0.64) allows authenticated remote attackers to abuse the `ha
Improper authorization in NanoClaw's MCP Server Approval component allows local attackers to bypass security controls by
Privilege escalation in NanoClaw before 2.1.0 lets scoped admins cross agent-group authorization boundaries by submittin
EUVD-2026-38464
GHSA-6373-p7g2-mx2w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB