CVE-2026-10144
Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm.at.rsbuild » corepreliminary | < 2.0.9< bc1c3a56f815487706cac6aeeb95ea251af42294< c1e2aebd6b1bbdaece15265572c3284f934b674d | 2.0.9, bc1c3a56f815487706cac6aeeb95ea251af42294, c1e2aebd6b1bbdaece15265572c3284f934b674d |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-10144 | github.com |
| Advisory | web-infra-dev/rsbuild release v2.0.9 | github.com |
| Advisory | NVD CVE-2026-10144 | nvd.nist.gov |
| Advisory | advisories/rsbuild-command-injection-via-openbrowser-url-handling | vulncheck.com |
| Fix | web-infra-dev/rsbuild commit c1e2aeb | github.com |
| Fix | web-infra-dev/rsbuild pull request #7789 | github.com |
| Package | web-infra-dev/rsbuild | github.com |
