CVE-2025-57283

The Node.js package browserstack-local 1.5.8 contains a command injection vulnerability

High · published January 28, 2026

CVSS v3.1
7.8
EPSS
1%
Percentile
56.5
In the wild
Unconfirmed
What it is

⚡ A sneaky command injection lurks in browserstack-local version 1.5.8! This vulnerability can be triggered due to improper sanitization of the logfile variable in lib/Local.js. 🔥 Think of it like a restaurant where the chef is handed an order that includes extra instructions, but nobody checks the details. An attacker could slip in malicious commands as part of the logfile, and voilà—the kitchen is now running rogue recipes! 🍽️ This could lead to an attacker executing arbitrary commands on your server, resulting in unauthorized access or disruptions. Imagine them taking control of your environment—altering configurations, accessing sensitive data, or even causing a complete system meltdown!

Put simply

Think of it like a restaurant where the chef is handed an order that includes extra instructions, but nobody checks the details. An attacker could slip in malicious commands as part of the logfile, and voilà—the kitchen is now running rogue recipes! 🍽️ The command injection vulnerability occurs because the logfile variable in the browserstack-local package is not properly sanitized. This allows an attacker to inject commands that can be executed by the server running Node.js.

What to do

This could lead to an attacker executing arbitrary commands on your server, resulting in unauthorized access or disruptions. Imagine them taking control of your environment—altering configurations, accessing sensitive data, or even causing a complete system meltdown! To protect yourself, update to the latest version of browserstack-local where this issue is patched. It’s also a good idea to implement input validation to ensure that any user-provided data, like logfiles, are thoroughly sanitized. 💪 You've got this! Follow these steps to secure your environment and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00810 · 56.5th percentile
Published
2026-01-28T00:00Z
EPSS history
Timeline
  • 28 JAN 00:00Z
    The Node.js package browserstack-local 1.5.8 contains a command injection vulnerability
    cvelistv5