{"id":"CVE-2026-42073","published":"2026-06-02T15:38:53Z","modified":"2026-06-02T17:40:55Z","title":"OpenClaude's MCP OAuth Callback: State Check Bypass via error Param Leads to DoS","vendor":"Gitlawb","product":"openclaude","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00255,"percentile":0.17414,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/Gitlawb/openclaude/security/advisories/GHSA-c73c-x77g-854r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Gitlawb/openclaude/commit/739b8d1f40fde0e401a5cbd2b9a55d88bd5124ad","tags":["x_refsource_MISC"]},{"url":"https://github.com/Gitlawb/openclaude/releases/tag/v0.5.1","tags":["x_refsource_MISC"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":3.48},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"gitlawb","affectedVersions":[{"vendor":"Gitlawb","product":"openclaude","versions":["< 0.5.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-02T17:37:51.060222Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@gitlawb/openclaude","vulnerableRanges":["<0.5.1"],"patched":["0.5.1"],"from":["GHSA-c73c-x77g-854r"],"provenance":"source"}],"summary":{"text":"OpenClaude, an open-source coding-agent command line interface, has a logic flaw in its MCP OAuth callback handling, where the temporary local HTTP server checks the state parameter in the wrong order of conditionals. An attacker can exploit this over the network by getting a user to interact with a crafted request (such as following a malicious link), without authentication or knowledge of the state value, to force the callback server to shut down and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:51Z"},"euvd":{"id":"EUVD-2026-33973","exploited":false,"provenance":"source"}}