NanoClaw < 2.1.17 - Privilege Escalation via Unverified Approval Response Handler
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-862.
Summary
NanoClaw before 2.1.17 contains a privilege escalation vulnerability in the handleApprovalsResponse function that fails to verify responder role authorization. Attackers with a valid questionId can approve or reject privileged actions like package installation by submitting approval response payloads without proper role validation.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA nanoclaw (nanocoai) Fixed in 2.1.17
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
nanocoai nanoclaw 2.1.17
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-40873 NanoClaw < 2.1.17 - Privilege Escalation via Unauthorized create_agent System ActionPriority LOW 29
- TI-2026-40872 NanoClaw < 2.1.17 - Arbitrary File Read via Symlink Following in forwardAttachedFilesPriority LOW 29
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56402
- 2026-10-03 Alias added: GHSA-mhq9-hcw8-22mj
References
Patch 2
More nanocoai vulnerabilities
- TI-2026-15518 nanocoai NanoClaw send_file core.ts path traversal CVSS 4.0MEDIUM 6.9
- TI-2026-61710 nanocoai NanoClaw Attachment agent-route.ts forwardAttachedFiles link following CVSS 4.0MEDIUM 5.3
- TI-2026-15531 nanocoai NanoClaw Child-Agent Creation create-agent.ts handleCreateAgent privileges management CVSS 4.0MEDIUM 5.3
- TI-2026-14327 nanocoai NanoClaw add_mcp_server request.ts handleAddMcpServer improper authorization CVSS 4.0MEDIUM 5.3
- TI-2026-14326 nanocoai NanoClaw MCP Server Approval chat-sdk-bridge.ts createChatSdkBridge.setup improper authorization CVSS 4.0MEDIUM 4.8
- TI-2026-40873 NanoClaw < 2.1.17 - Privilege Escalation via Unauthorized create_agent System Action CVSS 4.0MEDIUM 6.8
Sources
- CVE-2026-56402 · CVE Program
- CVE-2026-56402 · NVD
- FIRST EPSS
- GHSA-mhq9-hcw8-22mj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences