{"answers":{"affected":"2 open source packages ship an affected version, including browserstack-runner.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49143 exists.","fix":"No fix has been published for CVE-2026-49143 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-49143 is a high-severity code injection vulnerability in browserstack-runner, published on 2 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49143 and fix it if it is affected.\n\nWhat it is: CVE-2026-49143 is a high-severity code injection vulnerability in browserstack-runner, published on 2 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49143 exists.\n\nAffected packages and fixed versions:\n- browserstack-runner (npm): affected all versions up to 0.9.5; no fix listed\n- browserstack-runner (npm): affected all versions up to 0.9.5; no fix listed\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-49143/ (Markdown: https://insights.sbomify.com/CVE-2026-49143/index.md)","id":"CVE-2026-49143","markdown":"https://insights.sbomify.com/CVE-2026-49143/index.md","name":"CVE-2026-49143","record":{"aliases":["GHSA-6vr3-7wcx-v5g5"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"BrowserStack Runner","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary code on systems running BrowserStack Runner by sending crafted JSON payloads to the /_log handler.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"BrowserStack Runner through 0.9.5 contains a remote code execution vulnerability in the /_log HTTP handler that allows unauthenticated network-adjacent attackers to execute arbitrary code by submitting crafted JSON request bodies to the handler, which passes user-supplied data to vm.runInNewContext() combined with eval(). Attackers can escape the Node.js vm sandbox by leveraging a host-context Function reference through util.format to access the host process via this.constructor.constructor, achieving full remote code execution on the underlying system without any authentication.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"BrowserStack Runner 0.9.5 Unauthenticated RCE via /_log HTTP Handler","id":"CVE-2026-49143","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"BrowserStack Runner 0.9.5 Path Traversal via _default HTTP Handler","id":"CVE-2026-49144"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.9.5"],"package":"browserstack-runner","purl":null,"source":"GHSA-6vr3-7wcx-v5g5"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.9.5"],"package":"browserstack-runner","purl":"pkg:npm/browserstack-runner","source":"GHSA-6vr3-7wcx-v5g5"}],"prev":{"headline":"OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]","id":"CVE-2026-49142"},"products":["browserstack-runner"],"published":"2026-06-02","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["browserstack"]},"summary":"Unauthenticated attackers can execute arbitrary code on systems running BrowserStack Runner by sending crafted JSON payloads to the /_log handler.","url":"https://insights.sbomify.com/CVE-2026-49143/"}