---
id: CVE-2026-10144
title: >-
  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
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(…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: web-infra-dev
product: rsbuild
affected:
  - rsbuild < 2.0.9
published: '2026-09-15'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T19:17:03.683'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-10144'
references:
  - url: >-
      https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674d
    label: disclosure@vulncheck.com
  - url: 'https://github.com/web-infra-dev/rsbuild/pull/7789'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
epss: 0.01648
epssPercentile: 0.75046
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-21T18:12:11.753890Z'
ingestedAt: '2026-09-15T21:44:50.660Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
