Home

Description

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 verifier, defeating PKCE protection and enabling token redemption.

PUBLISHED Reserved 2026-03-30 | Published 2026-04-03 | Updated 2026-04-06 | Assigner VulnCheck




MEDIUM: 6.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

MEDIUM: 5.3CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Problem types

CWE-330 Use of Insufficiently Random Values

Product status

Default status
unaffected

Any version before 2026.4.2
affected

2026.4.2 (semver)
unaffected

Credits

RaaX reporter

References

github.com/...enclaw/security/advisories/GHSA-9jpj-g8vv-j5mf (GitHub Security Advisory (GHSA-9jpj-g8vv-j5mf)) vendor-advisory

github.com/...ommit/a26f4d0f3ef0757db6c6c40277cc06a5de76c52f (Patch Commit) patch

www.vulncheck.com/...fier-exposure-via-oauth-state-parameter third-party-advisory

cve.org (CVE-2026-34511)

nvd.nist.gov (CVE-2026-34511)

Download JSON