CVE-2025-57283

browserstack-local: OS command injection in the logfile variable in lib/Local.js

Published Jan 28, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g4w6-c99w-4wh7 BrowserStack Local vulnerable to Command Injection through logfile variable
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:browserstack:browserstack-local:1.5.8:*:*:*:*:node.js:*:*
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

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'}

Type Values Removed Values Added
First Time appeared Browserstack
Browserstack browserstack-local
Vendors & Products Browserstack
Browserstack browserstack-local
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 15, 2026, 1:25 AM
Reserved
Aug 17, 2025, 12:00 AM
Status
Modified
Published
Jan 28, 2026, 4:16 PM
Modified
Jul 15, 2026, 2:17 AM
Severity
Important
Public date
Jan 28, 2026, 12:00 AM