# GHSA-5PXG-X8G8-FW4J: browser\_open passes caller-supplied Chromium launch flags, allowing command execution

- Database: GitHub
- Severity: critical (stated by ghsa, no CVSS score)
- Published: 2026-11-05
- Modified: 2026-11-05

## Affected versions

- @claude-flow/cli (npm): through 3.71.3
- claude-flow (npm): through 3.71.3
- ruflo (npm): through 3.71.3

## Description

### Impact
The `browser_open` MCP tool (`v3/@claude-flow/cli/src/mcp-tools/browser-tools.ts`, the handler around lines 172-179) validates only `url` and `session`. `input.args` is joined with commas and passed to agent-browser as `--args`, which forwards it to the Chromium it launches.

Chromium has launch flags whose values are commands it runs: `--renderer-cmd-prefix`, `--gpu-launcher` and `--browser-subprocess-path`. Passing one of them through `args` makes Chromium run the command as the user. Any MCP caller can do this, including a model that follows a prompt injection. A harmless marker script was confirmed to run in a scratch directory.

The ADR-401 hardening (`execFileSync`, no shell) does not help: these flags are legitimate Chromium arguments.

### Fix
Allow only a short list of launch flags (for example `--disable-gpu`, `--disable-dev-shm-usage`, window size), reject every other flag, reject entries containing commas, and apply the same check to every other place that forwards caller args into `execBrowserCommand`.

### Credit
Found in an internal review on 2026-11-04.

## References

- https://github.com/ruvnet/ruflo/security/advisories/GHSA-5pxg-x8g8-fw4j

Page: https://cve.now/GHSA-5PXG-X8G8-FW4J

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
