CVE-2026-48723: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in browserstack browserstack-cypress-cli
CVE-2026-48723 is an OS command injection vulnerability in BrowserStack's browserstack-cypress-cli prior to version 1.36.6. The issue arises from improper neutralization of special characters in the cypress_config_file parameter, allowing an attacker to inject arbitrary OS commands via crafted input. This vulnerability has a high severity with a CVSS score of 7.8 and was fixed in version 1.36.6.
AI Analysis
Technical Summary
The browserstack-cypress-cli tool versions before 1.36.6 are vulnerable to OS command injection due to unsafe construction of shell commands in the loadJsFile() function within readCypressConfigUtil.js. The function interpolates the user-controlled cypress_config_filepath into a shell command executed by child_process.execSync() without proper sanitization. Specifically, shell metacharacters such as double quotes and semicolons can break out of the intended argument context, enabling arbitrary command execution. This vulnerability is tracked as CVE-2026-48723 and is classified under CWE-78. The issue was resolved in version 1.36.6.
Potential Impact
Successful exploitation allows an attacker with local access to execute arbitrary OS commands with the privileges of the user running the CLI. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Upgrade browserstack-cypress-cli to version 1.36.6 or later, where this vulnerability has been fixed. No other mitigations are specified or required once the update is applied.
CVE-2026-48723: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in browserstack browserstack-cypress-cli
Description
CVE-2026-48723 is an OS command injection vulnerability in BrowserStack's browserstack-cypress-cli prior to version 1.36.6. The issue arises from improper neutralization of special characters in the cypress_config_file parameter, allowing an attacker to inject arbitrary OS commands via crafted input. This vulnerability has a high severity with a CVSS score of 7.8 and was fixed in version 1.36.6.
CVSS v3.1
Score 7.8high
Affected software
pkg:npm/browserstack/browserstack-cypress-cliRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The browserstack-cypress-cli tool versions before 1.36.6 are vulnerable to OS command injection due to unsafe construction of shell commands in the loadJsFile() function within readCypressConfigUtil.js. The function interpolates the user-controlled cypress_config_filepath into a shell command executed by child_process.execSync() without proper sanitization. Specifically, shell metacharacters such as double quotes and semicolons can break out of the intended argument context, enabling arbitrary command execution. This vulnerability is tracked as CVE-2026-48723 and is classified under CWE-78. The issue was resolved in version 1.36.6.
Potential Impact
Successful exploitation allows an attacker with local access to execute arbitrary OS commands with the privileges of the user running the CLI. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Upgrade browserstack-cypress-cli to version 1.36.6 or later, where this vulnerability has been fixed. No other mitigations are specified or required once the update is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T18:47:27.756Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3087830b89be6888b6e9ae
Added to database: 6/15/2026, 11:15:15 PM
Last enriched: 6/15/2026, 11:30:43 PM
Last updated: 6/16/2026, 1:16:16 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.