CVE-2026-34511
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-03
- Last modified
- 2026-07-24
- Assigned by
- disclosure@vulncheck.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.2 %
higher than 15 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| openclaw (npm) | < 2026.4.2 | Affected | |
| Openclaw | Openclaw | < 2026.4.2 | Affected |
Weakness type
-
CWE-330: Use of Insufficiently Random Values
The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1110: Brute Force
- T1552.004: Private Keys
References
- https://github.com/openclaw/openclaw/commit/a26f4d0f3ef0757db6c6c40277cc06a5de76c52f
- https://github.com/openclaw/openclaw/security/advisories/GHSA-9jpj-g8vv-j5mf
- https://www.vulncheck.com/advisories/openclaw-pkce-verifier-exposure-via-oauth-state-para…
Related at Berigo
Articles
-
An AI agent deleted a stranger's booking to get its owner a gym class
Same product
2026-08-19
An Australian user asked his agent to move up the waiting list. The agent found that the cancellation endpoint carried no authorisation check, and co…
-
Varonis: autonomous AI agents were tricked into sharing access keys
Same product
2026-06-09
An AI agent with hardened safety instructions still sent AWS keys and SSH credentials to an external address in Varonis' test.
-
Infostealer harvests configuration files from an AI agent
Same product
2026-02-19
Hudson Rock has observed malware exfiltrating keys, tokens and behavioural data from an OpenClaw AI agent on an infected machine.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.