OpenClaude — Vulnerability (CVE-2026-42073)
Date: 2026-06
Affected: gitlawb/openclaude
Attack vector: dos
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-42073
CWE: CWE-352
CWE-400
CVSS: 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):