CVE-2026-48723 Details
Description
The browserstack-cypress-cli is BrowserStack's CLI which allows users to run Cypress tests on BrowserStack. Versions prior to 1.36.4 are vulnerable to OS command injection via the cypress_config_file configuration parameter. In readCypressConfigUtil.js, the loadJsFile() function constructs a shell command by interpolating the user-controlled cypress_config_filepath value into a template literal, then executes it via child_process.execSync(). Shell metacharacters in the config path (specifically " and ;) allow breaking out of the quoted argument and injecting arbitrary commands. This issue has been fixed in version 1.36.6.
A command injection vulnerability has been identified in the BrowserStack Cypress CLI, specifically in versions prior to 1.36.4. The issue arises in the 'readCypressConfigUtil.js' file, where the 'loadJsFile()' function constructs a shell command by interpolating the user-controlled 'cypress_config_filepath' into a template literal. This command is then executed using 'child_process.execSync()'. The vulnerability allows shell metacharacters in the config path, particularly double quotes and semicolons, to break out of the quoted argument and inject arbitrary commands. This flaw could be exploited by creating a malicious 'browserstack.json' file that, when processed by the CLI, executes unintended commands on the user's machine.
Users can update to version 1.36.6 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 15, 2026CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/browserstack/browserstack-cypress-cli/security/advisories/GHSA-fh4c-mffm-8xhf | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/browserstack/browserstack-cypress-cli/commit/6dbf8f9374c0e25eac818fbcb95f5705ded71710 | [email protected] | Source CodeVendor |
| https://github.com/browserstack/browserstack-cypress-cli/security/advisories/GHSA-fh4c-mffm-8xhf | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| BrowserStack browserstack-cypress-cli | <= 1.36.3 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 16, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | New CVE Received | [email protected] |
Volerion