# GHSA-6M52-2492-94JJ: daemon stop signals whatever PID the repository’s .claude-flow/daemon.pid names

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

## Affected versions

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

## Description

### Impact

`ruflo daemon stop` read `.claude-flow/daemon.pid` from the project and sent SIGTERM (then SIGKILL) to that PID without checking it. The file lives in the working tree, so a cloned repository can ship one. A value of `-1` signals every process the user owns, `0` the whole process group, and any other PID an unrelated process.

### Patches

Fixed in 3.80.3 (ruvnet/ruflo#5085). Only a plain PID greater than 1 that is not the CLI itself is accepted, and on POSIX the process must be a ruflo / claude-flow process. Regression test `daemon-stop-pidfile-target.test.ts`.

### Workarounds

Upgrade, or delete `.claude-flow/daemon.pid` from untrusted checkouts before running `daemon stop`.

## References

- https://github.com/ruvnet/ruflo/security/advisories/GHSA-6m52-2492-94jj

Page: https://cve.now/GHSA-6M52-2492-94JJ

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