Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. browserstack-local
  4. ›
  5. CVE-2025-57283

CVE-2025-57283: BrowserStack Local vulnerable to Command Injection through logfile variable

January 28, 2026 (updated February 27, 2026)

The Node.js package browserstack-local 1.5.8 contains a command injection vulnerability. This occurs because the logfile variable is not properly sanitized in lib/Local.js.

References

  • gist.github.com/Dremig/b639c61541dd1482007dc7a5cd7fefb1
  • github.com/advisories/GHSA-g4w6-c99w-4wh7
  • github.com/browserstack/browserstack-local-nodejs
  • github.com/browserstack/browserstack-local-nodejs/issues/168
  • nvd.nist.gov/vuln/detail/CVE-2025-57283
  • www.npmjs.com/

Code Behaviors & Features

Detect and mitigate CVE-2025-57283 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.5.9

Fixed versions

  • 1.5.9

Solution

Upgrade to version 1.5.9 or above.

Impact 7.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/browserstack-local/CVE-2025-57283.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:41 +0000.