{
  "id": "CVE-2026-10144",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-10144",
  "published_at": "2026-09-15T21:01:07.742Z",
  "title": "Rsbuild \u003c 2.0.9 Command Injection via openBrowser() URL Handling",
  "vendor": "web-infra-dev",
  "product": "rsbuild",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "web-infra-dev",
        "product": "rsbuild",
        "ranges": [
          "\u003c 2.0.9"
        ],
        "fixed_in": [
          "2.0.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade rsbuild to 2.0.9 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/web-infra-dev/rsbuild/pull/7789"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
