GitHub Advisoryadvisory · npm

GHSA-g4w6-c99w-4wh7 BrowserStack Local vulnerable to Command Injection through logfile variable

MEDIUM Published 2026-01-28 Modified 2026-02-27 Official page ↗
Aliases
CVE-2025-57283
Ecosystem
npm
Packages
browserstack-local
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Weaknesses
CWE-77
Reviewed
2026-01-29

Affected packages

• npm browserstack-local: < 1.5.9 → fixed in 1.5.9

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-57283 The Node.js package browserstack-local 1.5.8 contains a command injection vulnerability. vulnerability

Weakness · CWE (1)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness

References