PatchSiren cyber security CVE debrief
CVE-2026-10144 web-infra-dev CVE debrief
CVE-2026-10144 is a command injection vulnerability in Rsbuild before version 2.0.9. The vulnerability allows attackers to execute arbitrary OS commands by supplying a crafted URL containing shell metacharacters to the server.open configuration on macOS. The openBrowser() function in packages/core/src/server/open.ts passes the URL through encodeURI() before interpolating it into a shell command executed via child_process.exec(). However, because encodeURI() does not encode dollar signs, parentheses, or semicolons, embedded shell metacharacters are evaluated by /bin/sh, enabling arbitrary command execution.
- Vendor
- web-infra-dev
- Product
- rsbuild
- CVSS
- HIGH 7.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-15
- Original CVE updated
- 2026-09-21
- Advisory published
- 2026-09-15
- Advisory updated
- 2026-09-21
Who should care
Defenders responsible for Rsbuild deployments on macOS systems should assess exposure and prioritize patching or mitigating this vulnerability. This includes reviewing compensating controls, monitoring usage, and verifying patching for affected systems. Security teams and vulnerability management teams should also review the vulnerability and assess the impact on their environments.
Why it matters
CVE-2026-10144 is a command injection vulnerability in Rsbuild before version 2.0.9 that allows attackers to execute arbitrary OS commands on macOS systems. Defenders should prioritize patching or mitigating this vulnerability, especially in environments where Rsbuild is used on macOS systems.
- Potential for attackers to execute arbitrary OS commands
- Possible disruption of Rsbuild functionality
- Need for defenders to verify and patch vulnerable systems
- Potential for attackers to gain elevated privileges
Technical summary
The openBrowser() function in packages/core/src/server/open.ts passes the URL through encodeURI() before interpolating it into a shell command executed via child_process.exec(). However, because encodeURI() does not encode dollar signs, parentheses, or semicolons, embedded shell metacharacters are evaluated by /bin/sh, enabling arbitrary command execution. This vulnerability affects Rsbuild deployments on macOS systems, allowing attackers to execute arbitrary OS commands by supplying a crafted URL containing shell metacharacters to the server.open configuration.
Defensive priority
Defenders should prioritize patching or mitigating this vulnerability, especially in environments where Rsbuild is used on macOS systems.
Recommended defensive actions
- Patch Rsbuild to version 2.0.9 or later
- Restrict access to the server.open configuration on macOS systems
- Monitor Rsbuild usage and detect potential command injection attempts
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability is confirmed to exist in Rsbuild versions before 2.0.9. The openBrowser() function is vulnerable to command injection due to the use of encodeURI(), which does not encode certain shell metacharacters.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-10144 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-10144
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-10144 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-10144
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674d
-
Source reference
Unverified legacy reference
URL: https://github.com/web-infra-dev/rsbuild/pull/7789
-
Source reference
Unverified legacy reference
URL: https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.