# CVE-2026-48723: BrowserStack Cypress CL: Command Injection via cypress_config_file leads to arbitrary code execution through malicious browserstack.json

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-15T22:27:55.206Z
- Modified: 2026-06-17T10:55:14.217Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- browserstack browserstack-cypress-cli: < 1.36.6

## References

- <https://github.com/browserstack/browserstack-cypress-cli/security/advisories/GHSA-fh4c-mffm-8xhf> (exploit)
- <https://github.com/browserstack/browserstack-cypress-cli/commit/6dbf8f9374c0e25eac818fbcb95f5705ded71710>

## Sources

- CVE List: [CVE-2026-48723](https://www.cve.org/CVERecord?id=CVE-2026-48723), CVE Terms of Use, modified 2026-06-16
- NVD: [CVE-2026-48723](https://nvd.nist.gov/vuln/detail/CVE-2026-48723), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-48723 · Whole record: https://cve.day/CVE-2026-48723.json · Rebuilt by cve.day 2026-11-25T22:59:24.716Z
