# GHSA-8JJW-XQG5-7PVX: ruvocal mcp-bridge: a web page can drive the bridge on loopback when no token is set (CORS \* and DNS rebinding)

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

## Affected versions

- ruflo (npm): through 3.71.3

## Description

### Impact
In `ruflo/src/ruvocal/mcp-bridge/index.js` (around lines 1065-1100), `requireAuth` lets every request through when `MCP_AUTH_TOKEN` is unset, and `MCP_CORS_ORIGIN` defaults to `*`. The preflight is answered with 204 and allows `Content-Type`.

Any web page the operator visits can therefore send JSON-RPC to `127.0.0.1:3001` and read the response. That exposes the default memory, agents, config, github, system and hooks tools. There is no Host check, so DNS rebinding also works.

The Host/Origin refusal added for #4510 and #4517 went into `@claude-flow/mcp` and does not cover this separate express server. The non-loopback bind guard (line 1954) does not help, because the attack comes from the operator's own browser.

### Fix
When no token is set, refuse requests that carry an `Origin` header or a non-loopback `Host`, send no CORS header by default, or generate a token on first run.

## References

- https://github.com/ruvnet/ruflo/security/advisories/GHSA-8jjw-xqg5-7pvx

Page: https://cve.now/GHSA-8JJW-XQG5-7PVX

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