CVE-2026-49143 Details
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.
A remote code execution vulnerability has been identified in BrowserStack Runner versions through 0.9.5. The issue resides in the '/_log' HTTP handler, which accepts POST requests with JSON payloads. The handler processes user-supplied data by passing it to 'vm.runInNewContext()' combined with 'eval()', allowing unauthenticated network-adjacent attackers to execute arbitrary code on the host system. Exploitation involves crafting a JSON request that leverages a host-context Function reference to escape the Node.js vm sandbox and access the host process, achieving full remote code execution without authentication.
To address this vulnerability, remove 'eval()' and 'vm.runInNewContext()' from the '_log' handler, replacing them with 'JSON.stringify()' for safe logging. Additionally, implement UUID authentication for the '_log' handler, similar to the existing authentication for the '_progress' and '_report' handlers. Finally, configure the HTTP server to bind on '127.0.0.1' instead of '0.0.0.0'.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 2, 2026CISA-ADP
Assessed Jun 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/browserstack/browserstack-runner/security/advisories/GHSA-6vr3-7wcx-v5g5 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/browserstack/browserstack-runner/security/advisories/GHSA-6vr3-7wcx-v5g5 | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/browserstack-runner-unauthenticated-rce-via-log-http-handler | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| BrowserStack Runner | <= 0.9.5 (semver) |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Modified | [email protected] |
| Oct 8, 2026 | CVE Modified | CISA-ADP |
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 3, 2026 | CVE Modified | CISA-ADP |
| Jun 2, 2026 | New CVE Received | [email protected] |
Volerion