CVE-2026-18991

nanocoai NanoClaw send_file core.ts path traversal

Published Aug 6, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in nanocoai NanoClaw up to 2.0.64. This affects an unknown part of the file container/agent-runner/src/mcp-tools/core.ts of the component send_file. Such manipulation leads to path traversal. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

Based on the description, the vulnerability appears to allow an attacker to manipulate path arguments to core.ts. This manipulation could lead to reading or modifying files outside the intended directory, though that specific impact is inferred from the wording rather than explicitly confirmed. The flaw aligns with CWE‑22 where the application fails to validate or sanitize file paths. An attacker could remotely supply malicious input, potentially exposing sensitive files or corrupting data.

Affected Systems

The affected vendor and product is nanocoai NanoClaw, versions up to 2.0.64. The vulnerability resides in the file container/agent‑runner/src/mcp‑tools/core.ts within the send_file component. No other versions or components were listed as affected.

Risk and Exploitability

The CVSS score of 6.9 rates the vulnerability as moderate. The EPSS score is not available, and the flaw is not listed in CISA KEV. The attack can be performed remotely, with the exploit already disclosed publicly, implying a realistic threat. Because the flaw involves plain remote file access, an attacker with network access to NanoClaw services could read or alter critical files if the input is not validated, representing a significant security risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched version of NanoClaw published after 2.0.64 once available
  • Temporarily disable the send_file feature or block its API endpoint until a patch is deployed
  • Restrict network access to NanoClaw by firewall rules, allowing only trusted IPs to reach the service that processes file paths
  • Implement server‑side validation of all file path parameters, rejecting any traversal characters such as '..' before the file operation

Generated by OpenCVE AI on August 6, 2026 at 04:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A security vulnerability has been detected in nanocoai NanoClaw up to 2.0.64. This affects an unknown part of the file container/agent-runner/src/mcp-tools/core.ts of the component send_file. Such manipulation leads to path traversal. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title nanocoai NanoClaw send_file core.ts path traversal
First Time appeared Nanocoai
Nanocoai nanoclaw
Weaknesses CWE-22
CPEs cpe:2.3:a:nanocoai:nanoclaw:*:*:*:*:*:*:*:*
Vendors & Products Nanocoai
Nanocoai nanoclaw
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 6, 2026, 2:52 PM
Reserved
Aug 5, 2026, 6:48 PM
Status
Deferred
Published
Aug 6, 2026, 3:16 AM
Modified
Oct 23, 2026, 9:10 PM