Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
Published Sep 15, 2026
7.1
HIGHCVSS 4.0
EPSS 1.65%
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 products
-
- Version 0StatusaffectedConstraints<2.0.9
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Web-Infra-Dev | Rsbuild | unaffected |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
1 other source (NVD) ▾
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Sep 21, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
Sep–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.65% (0.01648) | 75.64th | v5 (v2026.06.15) |
| Sep 16, 2026 | 1.65% (0.01648) | 75.28th | v5 (v2026.06.15) |
References (4)
- https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674d patch
- https://github.com/web-infra-dev/rsbuild/pull/7789 issue-tracking
- https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9 release-notes
- https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling third-party-advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674d | patch | |
| https://github.com/web-infra-dev/rsbuild/pull/7789 | issue-tracking | |
| https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9 | release-notes | |
| https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling | third-party-advisory |
Change history (0)
No recorded changes yet.