# CVE-2026-42073: OpenClaude's MCP OAuth Callback: State Check Bypass via error Param Leads to DoS

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-12T15:34:30.000Z
- Modified: 2026-09-10T03:51:05.297Z
- Also known as: GHSA-c73c-x77g-854r
- Weaknesses: CWE-352, CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Gitlawb openclaude: < 0.5.1; before 0.5.1
- @gitlawb/openclaude (npm): before 0.5.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Gitlawb/openclaude/security/advisories/GHSA-c73c-x77g-854r> (exploit, vendor-advisory, web)
- <https://github.com/Gitlawb/openclaude/commit/739b8d1f40fde0e401a5cbd2b9a55d88bd5124ad> (patch, web)
- <https://github.com/Gitlawb/openclaude/releases/tag/v0.5.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42073> (advisory)
- <https://github.com/Gitlawb/openclaude> (package)

## Sources

- CVE List: [CVE-2026-42073](https://www.cve.org/CVERecord?id=CVE-2026-42073), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-c73c-x77g-854r](https://github.com/advisories/GHSA-c73c-x77g-854r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42073](https://nvd.nist.gov/vuln/detail/CVE-2026-42073), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-42073 · Whole record: https://cve.day/CVE-2026-42073.json · Rebuilt by cve.day 2026-11-25T22:59:23.585Z
