PT-2026-49536 · Browserstack · Browserstack-Cypress-Cli
CVE-2026-48723
·
Published
2026-06-15
·
Updated
2026-06-16
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
browserstack-cypress-cli versions prior to 1.36.4
Description
The browserstack-cypress-cli allows users to run Cypress tests on BrowserStack. An OS command injection is possible through the
cypress config file configuration parameter. In the file readCypressConfigUtil.js, the loadJsFile() function creates a shell command by interpolating the user-controlled cypress config filepath value into a template literal and executes it using child process.execSync(). The use of shell metacharacters, specifically " and ;, enables an attacker to break out of the quoted argument and execute arbitrary commands.Recommendations
Update to version 1.36.6.
As a temporary workaround, avoid using untrusted values in the
cypress config file parameter.Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Browserstack-Cypress-Cli