CVE-2026-42073

OpenClaude's MCP OAuth Callback: State Check Bypass via error Param Leads to DoS

State
Published
Severity
6.5 Medium
Published
Jun 2, 2026
Updated
Jun 2, 2026
Reserved
Apr 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-352 Cross-Site Request Forgery (CSRF)
  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
openclaudeGitlawb
  • < 0.5.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.