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.

Project Subscriptions

Vendors Products
Browserstack Subscribe
Browserstack-local Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g4w6-c99w-4wh7 BrowserStack Local vulnerable to Command Injection through logfile variable
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 09 Feb 2026 19:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:browserstack:browserstack-local:1.5.8:*:*:*:*:node.js:*:*

Fri, 30 Jan 2026 00:15:00 +0000

Type Values Removed Values Added
Title browserstack-local: OS command injection in the logfile variable in lib/Local.js
Weaknesses CWE-78
References
Metrics threat_severity

None

threat_severity

Important


Thu, 29 Jan 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 29 Jan 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Browserstack
Browserstack browserstack-local
Vendors & Products Browserstack
Browserstack browserstack-local

Wed, 28 Jan 2026 16:00:00 +0000

Type Values Removed Values Added
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.
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-01-29T15:11:40.801Z

Reserved: 2025-08-17T00:00:00.000Z

Link: CVE-2025-57283

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-01-28T16:16:12.737

Modified: 2026-02-09T19:17:13.890

Link: CVE-2025-57283

cve-icon Redhat

Severity : Important

Publid Date: 2026-01-28T00:00:00Z

Links: CVE-2025-57283 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-01-29T09:17:49Z

Weaknesses