CVE-2026-10144 Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
web-infra-dev
rsbuild
영향 받는 버전
- 2.0.9 미만
해결 버전
- 2.0.9 이상
참고 자료 4건
- github.com https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674d (새 창)
- github.com https://github.com/web-infra-dev/rsbuild/pull/7789 (새 창)
- github.com https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling (새 창)