Advisory

GHSA-g4w6-c99w-4wh7

Also known as: CVE-2025-57283

Summary

BrowserStack Local vulnerable to Command Injection through logfile variable

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-28 18:30 UTC
Modified
2026-02-28 05:14 UTC

Affected packages and fixes

browserstack-local

npm · All systems

Affected

  • introduced 0, fixed 1.5.9 (semver)

Fixed versions

1.5.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences