{"id":"CVE-2025-57283","published":"2026-01-28T00:00:00Z","modified":"2026-07-15T01:25:55Z","title":"The Node.js package browserstack-local 1.5.8 contains a command injection vulnerability","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00799,"percentile":0.57464,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.npmjs.com","tags":[]},{"url":"https://gist.github.com/Dremig/b639c61541dd1482007dc7a5cd7fefb1","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2025-57283","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2433928","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-57283.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":11.49},{"name":"CVSS severity","points":5.46}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-01-29T15:10:54.857862Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"browserstack-local","vulnerableRanges":["<1.5.9"],"patched":["1.5.9"],"from":["GHSA-g4w6-c99w-4wh7"],"provenance":"source"}],"summary":{"text":"The browserstack-local 1.5.8 Node.js package has a command injection flaw in lib/Local.js, where the logfile variable is not properly sanitised. An attacker with local access and low privileges, using a crafted logfile value and with the victim's action not required, could inject and run operating system commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:52:38Z"},"euvd":{"id":"EUVD-2025-206491","exploited":false,"provenance":"source"}}