Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-42073 EUVD-2026-33973GHSA-c73c-x77g-854r

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

Published Jun 2, 2026 · Updated Jun 2, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
Gitlawb openclaude < 0.5.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @gitlawb/openclaude < 0.5.1 0.5.1 GHSA-c73c-x77g-854r

References