CVE-2026-42073 OpenClaude's MCP OAuth Callback: State Check Bypass via error Param Leads to DoS
MediumCVSS 6.5
EPSS 0.26%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitlawb openclaude | < 0.5.1; = < 0.5.1 | 0.5.1 | Fixed |
| Gitlawb openclaude(npm) | < 0.5.1 | 0.5.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitlawb openclaude | = < 0.5.1 | No fix listed |
| Gitlawb openclaude(npm) | < 0.5.1 | 0.5.1 |
| Gitlawb openclaude | < 0.5.1 | 0.5.1 |
References
- https://github.com/Gitlawb/openclaude/security/advisories/GHSA-c73c-x77g-854r exploit vendor-advisory
- https://github.com/Gitlawb/openclaude/commit/739b8d1f40fde0e401a5cbd2b9a55d88bd5124ad patch
- https://github.com/Gitlawb/openclaude/releases/tag/v0.5.1 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product