OpenClaw Vulnerability: Exposure of PKCE Verifier in macOS Beta Onboarding
Summary
GHSA-6g25-pc82-vfwp: OpenClaw: macOS beta onboarding exposed PKCE verifier via OAuth state. Affects openclaw versions < 2026.2.25. Fixed in 2026.2.25. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
OpenClaw is an open-source application designed to facilitate user onboarding through OAuth authentication. The macOS version of OpenClaw is currently in beta, allowing users to sign in using various OAuth providers. However, a flaw in the onboarding process has been identified, where sensitive information is improperly handled, leading to potential security risks.
Vulnerability Detail
The vulnerability arises from the OpenClaw macOS app's onboarding flow, where the PKCE code_verifier is incorrectly used as the OAuth state. This exposure allows malicious actors to intercept the state value during the OAuth authorization process, potentially leading to unauthorized access to user accounts. The flaw is limited to the macOS beta onboarding path and requires the attacker to obtain both OAuth authorization artifacts and the exposed state values.
How To Fix
Latest published version: 2026.10.6 as of 22 Oct 2026
npm install openclaw@2026.10.6
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2026.2.25
This is the first release that contains the fix.
npm install openclaw@2026.2.25
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can avoid using the Anthropic OAuth sign-in during the macOS onboarding process until they update to the patched version. Instead, they can utilize the setup-token-only Anthropic subscription authentication.
Conclusion
The OpenClaw macOS app has a vulnerability in its beta onboarding flow that exposes sensitive OAuth information. Users are advised to update to the patched version to mitigate the risk. Temporary workarounds are available, but updating is the best course of action to ensure security.
See every vulnerability recorded for openclaw →
FAQ
The vulnerability involves the exposure of the PKCE code_verifier as the OAuth state in the OpenClaw macOS app, which can lead to unauthorized access.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package right away, avoid using the Anthropic OAuth sign-in during the onboarding process as a temporary measure.
The CVSS score of this vulnerability is 5.1, indicating a moderate severity level.
More information about OpenClaw can be found on its official GitHub repository and documentation pages.
References
Related vulnerabilities
Recent vulnerabilities recorded for openclaw.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.