{"id":"CVE-2026-34511","title":"OpenClaw before 2026.4.2 reuses the PKCE verifier as the OAuth state parameter in the Gemini OAuth flow, exposing it through the redirect URL","summary":"OpenClaw before 2026.4.2 reuses the PKCE verifier as the OAuth state parameter in the Gemini OAuth flow, exposing it through the redirect URL. Attackers who capture the redirect URL can obtain both the authorization code and PKCE verifie…","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","cwe":["CWE-330"],"vendor":"openclaw","product":"openclaw","affected":["openclaw < 2026.4.2"],"patched":["openclaw 2026.4.2"],"published":"2026-04-03","updated":"2026-07-24","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-34511","references":[{"url":"https://github.com/openclaw/openclaw/commit/a26f4d0f3ef0757db6c6c40277cc06a5de76c52f","label":"disclosure@vulncheck.com"},{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-9jpj-g8vv-j5mf","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/openclaw-pkce-verifier-exposure-via-oauth-state-parameter","label":"disclosure@vulncheck.com"}],"tags":["nvd"],"epss":0.00238,"epssPercentile":0.15139,"ingestedAt":"2026-07-25T22:05:04.960Z","slug":"CVE-2026-34511","body":"## Overview\n\nOpenClaw before 2026.4.2 reuses the PKCE verifier as the OAuth state parameter in the Gemini OAuth flow, exposing it through the redirect URL. Attackers who capture the redirect URL can obtain both the authorization code and PKCE verifier, defeating PKCE protection and enabling token redemption.\n\n## Affected\n\n- `openclaw < 2026.4.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `openclaw 2026.4.2`","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}