Home

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.

PUBLISHED Reserved 2026-04-23 | Published 2026-06-02 | Updated 2026-06-02 | Assigner GitHub_M




MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Problem types

CWE-352: Cross-Site Request Forgery (CSRF)

CWE-400: Uncontrolled Resource Consumption

Product status

< 0.5.1
affected

References

github.com/...claude/security/advisories/GHSA-c73c-x77g-854r exploit

github.com/...claude/security/advisories/GHSA-c73c-x77g-854r

github.com/...ommit/739b8d1f40fde0e401a5cbd2b9a55d88bd5124ad

github.com/Gitlawb/openclaude/releases/tag/v0.5.1

cve.org (CVE-2026-42073)

nvd.nist.gov (CVE-2026-42073)

Download JSON