{"answers":{"affected":"2 open source packages ship an affected version, including @gitlawb/openclaude. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42073 exists.","fix":"Upgrade @gitlawb/openclaude to 0.5.1 or later.","what":"CVE-2026-42073 is a medium-severity vulnerability in Gitlawb openclaude, published on 2 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42073 and fix it if it is affected.\n\nWhat it is: CVE-2026-42073 is a medium-severity vulnerability in Gitlawb openclaude, published on 2 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42073 exists.\n\nAffected packages and fixed versions:\n- @gitlawb/openclaude (npm): affected all versions; fixed in 0.5.1\n- @gitlawb/openclaude (npm): affected all versions; fixed in 0.5.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42073/ (Markdown: https://insights.sbomify.com/CVE-2026-42073/index.md)","id":"CVE-2026-42073","markdown":"https://insights.sbomify.com/CVE-2026-42073/index.md","name":"CVE-2026-42073","record":{"aliases":["GHSA-c73c-x77g-854r"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenClaude CLI","requires_auth":"none","summary":"Attackers can bypass OAuth state validation in OpenClaude CLI to force a denial of service by shutting down the local authentication server.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openclaude","vendor":"gitlawb"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OpenClaude's MCP OAuth Callback: State Check Bypass via error Param Leads to DoS","id":"CVE-2026-42073","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"OpenClaude: Sandbox Bypass via Model-Controlled `dangerouslyDisableSandbox` Input","id":"CVE-2026-42074"},"packages":[{"ecosystem":"npm","fixed":["0.5.1"],"introduced":["0"],"last_affected":[],"package":"@gitlawb/openclaude","purl":null,"source":"GHSA-c73c-x77g-854r"},{"ecosystem":"npm","fixed":["0.5.1"],"introduced":["0"],"last_affected":[],"package":"@gitlawb/openclaude","purl":"pkg:npm/%40gitlawb/openclaude","source":"GHSA-c73c-x77g-854r"}],"prev":{"headline":"Nornicdb: Improper Network Binding in NornicDB Bolt Server allows unauthorized remote access","id":"CVE-2026-42072"},"products":["openclaude"],"published":"2026-06-02","related":[{"cvss_score":9.3,"headline":"OpenClaude: Sandbox Bypass via Model-Controlled `dangerouslyDisableSandbox` Input","id":"CVE-2026-42074","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":8.4,"headline":"OpenClaude has Sandbox Bypass via Early-Exit Logic Flaw that Allows Path Traversal","id":"CVE-2026-35570","kev_date_added":null,"published":"2026-04-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-02","vendors":["Gitlawb"]},"summary":"Attackers can bypass OAuth state validation in OpenClaude CLI to force a denial of service by shutting down the local authentication server.","url":"https://insights.sbomify.com/CVE-2026-42073/"}