Skip to main content
No exploitation reportedFix available

CVE-2025-57283

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

No exploitation reported by the sources we read.

  • Published2026-01-28
  • Fixed in1.5.9
  • WeaknessCWE-78 · CWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-01-2816:16CVE publishedNVD

Versions per branch

OSV · NVD
browserstack-local
BranchAffectedFixed in
1.5< 1.5.91.5.9
Browserstack browserstack-local
BranchAffectedFixed in
1.5= 1.5.8no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2025-57283 Red Hat Product Security1 known affected

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

    io.syndesis-syndesis-parent as a component of Red Hat Fuse 7

Full record on NVD

Fix

  1. Update browserstack-local to 1.5.9
  2. Workaround from the vendor Red Hat Product Security CVE-2025-57283 · 1 productTo mitigate this issue, implement strict input validation of the logfile variable using an allow-list approach. Ensure the input allows only alphanumeric characters, dots, dashes, underscores, and forward slashes. Any input containing other characters should be rejected immediately.
  3. No fix planned, says the vendor Red Hat Product Security CVE-2025-57283 · 1 productWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-01-28
Last modified
2026-07-15
NVD status
Modified
GitHub advisory
GHSA-g4w6-c99w-4wh7

Frequently asked questions

What is CVE-2025-57283?

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.

Is CVE-2025-57283 actively exploited?

Active exploitation of CVE-2025-57283 has not been confirmed. Its EPSS score was 1.6% on 2026-11-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-57283?

CVE-2025-57283 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running browserstack-local? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record