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.
Affected products
gitlawb: openclaude
References4
- github.com/Gitlawb/openclaude/security/advisories/GHSA-c73c-x77… ExploitVendor Advisory
- github.com/Gitlawb/openclaude/security/advisories/GHSA-c73c-x77… ExploitVendor Advisory
- github.com/Gitlawb/openclaude/commit/739b8d1f40fde0e401a5cbd2b9… Patch
- github.com/Gitlawb/openclaude/releases/tag/v0.5.1 Release Notes
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 17 · as of 15 November 2026
- CWE
- CWE-352CWE-400
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.