NanoClaw remote code execution in Lockdown readEnvFile
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
nanocoai NanoClaw has a flaw in the readEnvFile function of its Lockdown component that fails to properly check for unusual conditions. A local attacker with low-level login access can trigger it without any user action, which could give limited ability to read data, change data, or disrupt the service.
Written by a model
Original description
A vulnerability was found in nanocoai NanoClaw up to 2026.11.0. This affects the function readEnvFile of the file src/env.ts of the component Lockdown. The manipulation results in improper check for unusual conditions. Attacking locally is a requirement. The exploit has been made public and could be used. The pull request to fix this issue awaits acceptance.
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-139887 (nanocoai NanoClaw Lockdown env.ts readEnvFile unusual condition), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-139887 (entry last updated 2026-11-30):
Affected:
- nanocoai NanoClaw: versions 2026.0, 2026.1, 2026.2, 2026.3, 2026.4, 2026.5, 2026.6, 2026.7, 2026.8, 2026.9, 2026.10, 2026.11.0
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-139887 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139887 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://vuldb.com/vuln/445861
- https://vuldb.com/vuln/445861/cti
- https://vuldb.com/cve/CVE-2026-139887
- https://vuldb.com/submit/1082486
- https://github.com/nanocoai/nanoclaw/
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-139887
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139887"}.Affected versions
- nanocoai NanoClaw2026.0, 2026.1, 2026.2, 2026.3, 2026.4, 2026.5, 2026.6, 2026.7, 2026.8, 2026.9, 2026.10, 2026.11.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity4.8/10CVSS 4.8
- No patch5/5No patch listed yet
What would change the score
- Would score about 65 if added to CISA KEV
- Would score about 60 if CISA's SSVC rates exploitation active
- Would score about 32 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-139887 |
| Record | NVD · CVE-2026-139887 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | GitHub · nanocoai/nanoclaw · Pull request #4314 |
| Other links 5 | |
| Advisory | VulDB · Advisory #445861 |
| Advisory | VulDB · Threat intelligence #445861 |
| Advisory | VulDB · CVE-2026-139887 record |
| Advisory | VulDB · Submission #1082486 |
| Repository | GitHub · nanocoai/nanoclaw · Repository |
Questions about CVE-2026-139887
Is CVE-2026-139887 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-139887?
NanoClaw: versions 2026.0, 2026.1, 2026.2, 2026.3, 2026.4 and 7 more.
Source: cve.now feed data
Related
- CVE-2026-56402NanoClaw < 2.1.17 - Privilege Escalation via Unverified Approval Response Handler
- CVE-2026-18991nanocoai NanoClaw send_file core.ts path traversal
- CVE-2026-56693NanoClaw < 2.1.17 - Privilege Escalation via Unauthorized create_agent System Action
- CVE-2026-56692NanoClaw < 2.1.17 - Arbitrary File Read via Symlink Following in forwardAttachedFiles
- CVE-2026-90807nanocoai NanoClaw Attachment agent-route.ts forwardAttachedFiles link following
- CVE-2026-19005nanocoai NanoClaw Child-Agent Creation create-agent.ts handleCreateAgent privileges management
No corrections so far. Something wrong on this page? Report an error.