{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.1.17"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ee7f891698760f21b9e79a850d64c7f633cd95ef"
            },
            {
              "fixed": "6227bd1a5b016fb1eb76411bb6681b4c924a51a0"
            }
          ],
          "repo": "https://github.com/nanocoai/nanoclaw",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56402.json"
  },
  "details": "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.",
  "id": "CVE-2026-56402",
  "modified": "2026-08-07T11:31:17.661510894Z",
  "published": "2026-06-23T15:34:05.631Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56402.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56402"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/nanoclaw-privilege-escalation-via-unverified-approval-response-handler"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nanocoai/nanoclaw/pull/2478"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nanocoai/nanoclaw/commit/6227bd1a5b016fb1eb76411bb6681b4c924a51a0"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nanocoai/nanoclaw"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "NanoClaw \u003c 2.1.17 - Privilege Escalation via Unverified Approval Response Handler"
}