CVE-2026-42073 Details
Description
OpenClaude is an open-source coding-agent command line interface for cloud and local model providers. Prior to version 0.5.1, the OpenClaude MCP authentication flow starts a temporary local HTTP server to handle OAuth callbacks. To prevent CSRF attacks, the server validates a state parameter against an internally stored value. However, due to a logic flaw in the order of conditionals, an attacker can completely bypass this check and force the server to shut down — without knowing the state value at all. This issue has been patched in version 0.5.1.
A vulnerability in OpenClaude's MCP authentication flow allows for an OAuth state validation bypass, leading to a denial-of-service condition. The issue arises because the authentication process relies on a temporary local HTTP server to manage OAuth callbacks. To mitigate CSRF attacks, the server checks the 'state' parameter against a stored value. However, a logic flaw in the conditional checks enables an attacker to bypass this validation entirely. By sending a request with an 'error' parameter, the attacker can force the server to shut down, disrupting the user's authentication session without needing to know the 'state' value.
Users can update to OpenClaude version 0.5.1, which addresses this vulnerability by repositioning the state validation check to occur before any error parameters are processed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Gitlawb/openclaude/security/advisories/GHSA-c73c-x77g-854r | CISA-ADP | ExploitVendor Advisory |
| https://github.com/Gitlawb/openclaude/commit/739b8d1f40fde0e401a5cbd2b9a55d88bd5124ad | [email protected] | Patch |
| https://github.com/Gitlawb/openclaude/releases/tag/v0.5.1 | [email protected] | Release Notes |
| https://github.com/Gitlawb/openclaude/security/advisories/GHSA-c73c-x77g-854r | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gitlawb openclaude | < 0.5.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 3, 2026 | Initial Analysis | [email protected] |
| Jun 2, 2026 | CVE Modified | CISA-ADP |
| Jun 2, 2026 | New CVE Received | [email protected] |