CVE-2026-56402 NanoClaw < 2.1.17 - Privilege Escalation via Unverified Approval Response Handler
Attackers can escalate privileges by approving privileged actions without proper role validation in NanoClaw.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-56402?
CVE-2026-56402 is a high-severity missing authorization vulnerability in nanocoai nanoclaw, published on 23 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-862
Which versions are affected by CVE-2026-56402?
How do I fix CVE-2026-56402?
No fix has been published for CVE-2026-56402 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-56402 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56402 exists.
Sources
Also known as GHSA-mhq9-hcw8-22mj.