Skip to main content
← All vulnerabilities
CVE-2026-10144

Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Rsbuild before 2.0.9 contains a command injection vulnerability that 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(), but because encodeURI() does not encode dollar signs, parentheses, or semicolons, embedded shell metacharacters are evaluated by /bin/sh, enabling arbitrary command execution.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • web-infra-dev rsbuild

    fixed in 2.0.9

References 4

GitHub · web-infra-dev/rsbuild

vulncheck.com