Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. browserstack-runner
  4. ›
  5. CVE-2026-49143

CVE-2026-49143: browserstack-runner vulnerable to Remote Code Execution via vm sandbox escape in _log HTTP handler

June 3, 2026

The HTTP handler /_log in lib/server.js (lines 491–515) of browserstack-runner passes unauthenticated user-supplied data to vm.runInNewContext() combined with eval(), enabling a sandbox escape and arbitrary code execution on the host system.

References

  • github.com/advisories/GHSA-6vr3-7wcx-v5g5
  • github.com/browserstack/browserstack-runner/security/advisories/GHSA-6vr3-7wcx-v5g5
  • nvd.nist.gov/vuln/detail/CVE-2026-49143
  • www.vulncheck.com/advisories/browserstack-runner-unauthenticated-rce-via-log-http-handler

Code Behaviors & Features

Detect and mitigate CVE-2026-49143 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.9.5

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/browserstack-runner/CVE-2026-49143.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 06 Jun 2026 12:18:22 +0000.