---
id: CVE-2026-56402
title: >-
  NanoClaw before 2.1.17 contains a privilege escalation vulnerability in the
  handleApprovalsResponse function that fails to verify responder role
  authorization
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 li…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-862
vendor: nanocoai
product: nanoclaw
affected:
  - nanoclaw < 2.1.17
published: '2026-06-23'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T18:16:51.323'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56402'
references:
  - url: >-
      https://github.com/nanocoai/nanoclaw/commit/6227bd1a5b016fb1eb76411bb6681b4c924a51a0
    label: disclosure@vulncheck.com
  - url: 'https://github.com/nanocoai/nanoclaw/pull/2478'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/nanoclaw-privilege-escalation-via-unverified-approval-response-handler
    label: disclosure@vulncheck.com
  - url: 'https://github.com/nanocoai/nanoclaw/pull/2478'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-23T17:46:15.703007Z'
epss: 0.00376
epssPercentile: 0.28738
ingestedAt: '2026-09-17T18:25:15.971Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
