{"id":"GHSA-9jpj-g8vv-j5mf","revision":"682ef78e39054eb9bfa32f277c933e0a","records":[{"revision":"682ef78e39054eb9bfa32f277c933e0a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-9jpj-g8vv-j5mf","aliases":["CVE-2026-34511"],"title":"OpenClaw: Gemini OAuth exposed the PKCE verifier through the OAuth state parameter","description":"## Summary\n\nBefore OpenClaw 2026.4.2, the Gemini OAuth flow reused the PKCE verifier as the OAuth `state` value. Because the provider reflected `state` back in the redirect URL, the verifier could be exposed alongside the authorization code.\n\n## Impact\n\nAnyone who could capture the redirect URL could learn both the authorization code and the PKCE verifier, defeating PKCE's interception protection for that flow and enabling token redemption.\n\n## Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Affected versions: `<= 2026.4.1`\n- Patched versions: `>= 2026.4.2`\n- Latest published npm version: `2026.4.1`\n\n## Fix Commit(s)\n\n- `a26f4d0f3ef0757db6c6c40277cc06a5de76c52f` — separate OAuth state from the PKCE verifier\n\nOpenClaw thanks @BG0ECV for reporting.","state":0,"publishedAt":"2026-04-04T06:26:55+00:00","modifiedAt":"2026-04-07T14:44:19.269908+00:00","affected":[{"ecosystem":"npm","name":"openclaw","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.4.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-9jpj-g8vv-j5mf","https://nvd.nist.gov/vuln/detail/CVE-2026-34511","https://github.com/openclaw/openclaw/commit/a26f4d0f3ef0757db6c6c40277cc06a5de76c52f","https://github.com/openclaw/openclaw","https://www.vulncheck.com/advisories/openclaw-pkce-verifier-exposure-via-oauth-state-parameter"],"sourceUrl":"https://github.com/advisories/GHSA-9jpj-g8vv-j5mf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9jpj-g8vv-j5mf","identifiers":["GHSA-9jpj-g8vv-j5mf","CVE-2026-34511"]},"retained":false,"historicalAffected":[]}],"coverage":[]}