Skip to main content

NanoClaw EUVDEUVD-2026-38464

| CVE-2026-56692 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-06-23 VulnCheck GHSA-6373-p7g2-mx2w
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Agent writes symlink with safe filename to outbox
  2. Delivery
    Symlink passes isSafeAttachmentName filename check
  3. Exploit
    Agent sends inter-agent message listing symlink as attachment
  4. Execution
    forwardAttachedFiles calls fs.copyFileSync, dereferencing symlink to host file
  5. Persist
    Host file contents written to destination agent inbox
  6. Impact
    Attacker 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 invoice.pdf inside the agent's outbox directory that is actually a symlink to /home/nanoclaw/.ssh/id_rsa or /etc/shadow. The agent sends a message to another agent listing invoice.pdf as an attachment; NanoClaw's unpatched forwardAttachedFiles passes the filename check, calls fs.copyFileSync which follows the symlink, and delivers the host private key contents to the destination agent's inbox. No public exploit code exists, but the GitHub PR test case at https://github.com/nanocoai/nanoclaw/pull/2468 demonstrates the exact exploit pattern.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NanoClaw 0 <2.1.17

Affected Packages

euvd nanoclaw fix: 2.1.17

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

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Rare
niche AI agent orchestration platform with limited enterprise deployment
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy