CVE-2026-42073: CWE-352: Cross-Site Request Forgery (CSRF) in Gitlawb openclaude
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.
AI Analysis
Technical Summary
OpenClaude's MCP authentication flow uses a temporary local HTTP server to handle OAuth callbacks, validating a state parameter to prevent CSRF attacks. Due to a logic error in the conditional checks, attackers can bypass this validation and cause the server to shut down unexpectedly. This denial-of-service condition affects versions before 0.5.1. The vulnerability is tracked as CVE-2026-42073 with a CVSS 3.1 base score of 6.5 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H). The issue has been fixed in OpenClaude version 0.5.1.
Potential Impact
The vulnerability allows an unauthenticated remote attacker to bypass CSRF protections and forcibly shut down the local HTTP server used in the OAuth authentication flow. This results in a denial-of-service condition impacting availability. There is no impact on confidentiality or integrity according to the CVSS vector. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade OpenClaude to version 0.5.1 or later, where this vulnerability has been patched. Since this is a client-side CLI tool and not a cloud service, users must apply the update themselves. Patch status is confirmed by the vendor stating the fix is included in version 0.5.1. No additional mitigations are indicated.
CVE-2026-42073: CWE-352: Cross-Site Request Forgery (CSRF) in Gitlawb openclaude
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.
CVSS v3.1
Score 6.5medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenClaude's MCP authentication flow uses a temporary local HTTP server to handle OAuth callbacks, validating a state parameter to prevent CSRF attacks. Due to a logic error in the conditional checks, attackers can bypass this validation and cause the server to shut down unexpectedly. This denial-of-service condition affects versions before 0.5.1. The vulnerability is tracked as CVE-2026-42073 with a CVSS 3.1 base score of 6.5 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H). The issue has been fixed in OpenClaude version 0.5.1.
Potential Impact
The vulnerability allows an unauthenticated remote attacker to bypass CSRF protections and forcibly shut down the local HTTP server used in the OAuth authentication flow. This results in a denial-of-service condition impacting availability. There is no impact on confidentiality or integrity according to the CVSS vector. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade OpenClaude to version 0.5.1 or later, where this vulnerability has been patched. Since this is a client-side CLI tool and not a cloud service, users must apply the update themselves. Patch status is confirmed by the vendor stating the fix is included in version 0.5.1. No additional mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-23T19:17:30.565Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1f1079e29bf47b50e963af
Added to database: 6/2/2026, 5:18:49 PM
Last enriched: 6/2/2026, 5:34:46 PM
Last updated: 6/3/2026, 5:06:36 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.