# GHSA-824F-VF3P-849W: metaharness MCP tools read and write arbitrary file paths supplied by the caller

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

## Affected versions

- @claude-flow/cli (npm): from 3.13.0, fixed in 3.80.3
- claude-flow (npm): from 3.13.0, fixed in 3.80.3
- ruflo (npm): from 3.13.0, fixed in 3.80.3

## Description

### Impact

Several `metaharness_*` MCP tools passed caller-supplied file arguments straight to the plugin scripts: output paths (`out` for bench and redblue) were written wherever the caller pointed, and input paths (`suite`, `config`, `in`, `aFile`/`bFile`, `baselineFile`, `currentFile`, GEPA `path`, `transcript`) were read and their content echoed back. An MCP caller — for example an agent steered by untrusted content — could overwrite any file the user can write or read files outside the project.

### Patches

Fixed in 3.80.3 (ruvnet/ruflo#5085). Over MCP, file arguments must be regular files inside the project directory (no symlinks, nothing in `.git`, output extensions restricted); the local CLI keeps operator-supplied paths. Regression test `metaharness-tool-path-containment.test.ts`.

### Workarounds

Upgrade, or disable the metaharness plugin tools.

## References

- https://github.com/ruvnet/ruflo/security/advisories/GHSA-824f-vf3p-849w

Page: https://cve.now/GHSA-824F-VF3P-849W

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