{"id":"GHSA-6g25-pc82-vfwp","summary":"OpenClaw: macOS beta onboarding exposed PKCE verifier via OAuth state","details":"### Summary\n\nThe affected surface is the OpenClaw macOS app onboarding flow, and the macOS app is currently in **beta**.\nIn that beta onboarding flow, Anthropic OAuth used the PKCE `code_verifier` value as OAuth `state`, exposing that secret in front-channel URL state.\n\n### Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Affected versions: `\u003c= 2026.2.24` (latest published npm at triage time)\n- Affected surface: macOS app beta onboarding path (`apps/macos`)\n- Not affected: core CLI/gateway onboarding paths\n- Patched version : `2026.2.25`\n\n### Impact\n\nScope is limited to the macOS beta onboarding OAuth path. Exploitation required obtaining both OAuth authorization artifacts and exposed `state` values during that flow.\n\n### Remediation\n\nOpenClaw removed Anthropic OAuth sign-in from macOS onboarding and now supports setup-token-only Anthropic subscription auth in this path.\n\n### Fix Commit(s)\n\n- `8f3310000a8b0c11eced054c2cdb6fb27803511a`\n\n### Release Process Note\n\n`patched_versions` is pre-set to the release (`2026.2.25`).\nAdvisory published with npm release `2026.2.25`.2.25` is published, this advisory is published.\n\nOpenClaw thanks @zdi-disclosures for reporting.","aliases":["CVE-2026-3691"],"modified":"2026-07-08T08:13:06.837895391Z","published":"2026-03-03T00:39:40Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-200"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-03-03T00:39:40Z"},"references":[{"type":"WEB","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-6g25-pc82-vfwp"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/commit/8f3310000a8b0c11eced054c2cdb6fb27803511a"},{"type":"PACKAGE","url":"https://github.com/openclaw/openclaw"}],"affected":[{"package":{"name":"openclaw","ecosystem":"npm","purl":"pkg:npm/openclaw"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2026.2.25"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6g25-pc82-vfwp/GHSA-6g25-pc82-vfwp.json","last_known_affected_version_range":"\u003c= 2026.2.24"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}