NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Other MCP servers and tools

GHSA-fvh2-gm75-j4j7: dynoxide: DNS rebinding and cross-origin CSRF via MCP HTTP transport

highCVSS 3.1 7.5

dynoxide 0.9.3 through 0.9.12 exposes its MCP HTTP transport to DNS rebinding and cross-origin requests. If you run `dynoxide mcp --http` or `dynoxide serve --mcp` and visit a malicious web page, that page's JavaScript can call the MCP tools and read, change or delete data in your local tables. Upgrade to 0.9.13. The default stdio mode is not affected.

Published May 18, 2026 · Analysis Oct 27, 2026

What an attacker can do

dynoxide's HTTP transport relies on the rmcp library, which in the affected versions accepted requests with any Host header. A page can point a hostname it controls at 127.0.0.1 (DNS rebinding) and then send requests that the local server processes. A second gap is cross-origin CSRF: a page can send a no-cors fetch to the loopback address. The Host header then matches, and the Origin header went unchecked.

The attacker needs a user to run the HTTP transport and open a hostile page during that time (CVSS: network, high complexity, user interaction). The page can then call any MCP tool the instance exposes. Reads include get_item, query, scan, batch_get_item, describe_table and list_tables. Writes include put_item, update_item, delete_item, create_table and batch_write_item. All data in tables the local dynoxide instance can reach can be read, altered or destroyed.

The flaw was found through a Dependabot alert on the transitive rmcp dependency. The upstream rmcp advisory is tracked as CVE-2026-42559. The stdio transport, which is the default for dynoxide mcp, has no network listener and is not affected.

Who is affected

dynoxide and the dynoxide-rs crate from 0.9.3 up to but not including 0.9.13, only when the HTTP transport is on: dynoxide mcp --http or dynoxide serve --mcp. Check the installed version:

dynoxide --version
npm ls -g dynoxide
cargo install --list | grep dynoxide

Check shell history, scripts and MCP client configuration for the --http or --mcp flags.

dynoxide-rs

Ecosystem
Rust (crates.io)
Affected
>= 0.9.3, < 0.9.13
Fixed in
0.9.13
Check
cargo tree -i dynoxide-rs

dynoxide

Ecosystem
npm
Affected
>= 0.9.3, < 0.9.13
Fixed in
0.9.13
Check
npm ls dynoxide

How to fix it

Upgrade to dynoxide 0.9.13 (npm package dynoxide or crate dynoxide-rs). The release upgrades rmcp from 1.1.1 to 1.6.0, whose default Host-header allowlist (localhost, 127.0.0.1, ::1) rejects other hosts with a 403. It also sets explicit allowed_hosts and allowed_origins lists on StreamableHttpServerConfig, which closes the Origin gap. Native MCP clients that send no Origin header, such as Claude Code, Cursor and the dynoxide CLI, keep working.

If you cannot upgrade, do not run the HTTP transport: use dynoxide mcp (stdio) and do not pass --mcp to dynoxide serve.

How to tell if you were hit

Check whether a dynoxide HTTP listener was running while you browsed, using the shell history and ss -tlnp | grep dynoxide. Review the tables the instance could access for unexpected items, deleted rows or newly created tables. If you log requests, look for ones with a Host header other than localhost, 127.0.0.1 or ::1, or with an Origin header from a web site. Beam records the MCP tool calls an AI agent makes, but calls from a web page would not appear there.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

dynoxide's MCP HTTP transport was vulnerable to DNS rebinding via its transitive rmcp dependency, plus a related cross-origin CSRF gap. A malicious web page could make the user's browser send requests to a local dynoxide mcp --http or dynoxide serve --mcp server with a non-loopback Host header, which the server would then process. Affects 0.9.3 to 0.9.12. The stdio transport (dynoxide mcp without --http, which is the default) is not affected.

Impact

If a user is running dynoxide mcp --http (or dynoxide serve --mcp) on their machine and then visits a malicious web page, the attacker's JavaScript can call any MCP tool exposed by the running dynoxide instance.

Reachable tools include reads (get_item, query, scan, batch_get_item, describe_table, list_tables) and writes (put_item, update_item, delete_item, create_table, batch_write_item).

Any data in tables that the local dynoxide instance has access to can be read, modified, or destroyed.

Patches

dynoxide 0.9.13 closes both the named CVE and a related cross-origin CSRF gap:

  1. DNS rebinding (the named CVE). rmcp is upgraded from 1.1.1 to 1.6.0. rmcp 1.4+ ships a default Host-header allowlist (["localhost", "127.0.0.1", "::1"]) which rejects requests carrying any other Host header with a 403.
  1. Defence in depth. Explicit allowed_hosts and allowed_origins lists are now set on StreamableHttpServerConfig directly. The Host allowlist protects against a future rmcp default flip. The Origin allowlist closes a related cross-origin CSRF gap that the Host check alone does not address: a malicious page could fetch the loopback endpoint with mode: 'no-cors', the Host header would match (it's the literal loopback address the browser is connecting to), but the Origin header would otherwise have been unchecked.

Native MCP clients that don't send an Origin header (Claude Code, Cursor, the dynoxide CLI) are unaffected by the Origin check and continue to work.

Workarounds

  • Upgrade to dynoxide 0.9.13.
  • If upgrade is not immediately possible: do not run the MCP HTTP transport. Run dynoxide mcp (stdio, the default) instead of dynoxide mcp --http, and don't pass --mcp to dynoxide serve.

Resources

Credits

Vulnerability identified via GitHub Dependabot alert on the transitive rmcp dependency.

Credited to hicksy.

Questions

Is the default dynoxide mcp mode affected?

No. The default is stdio, which is unaffected. Only dynoxide mcp --http and dynoxide serve --mcp open the HTTP transport.

What can a malicious page do?

Call any exposed MCP tool: query and scan tables, and put, update or delete items, or create tables. Everything the local dynoxide instance has access to is at risk.

Which version fixes GHSA-fvh2-gm75-j4j7?

0.9.13, for both the dynoxide npm package and the dynoxide-rs crate. Versions 0.9.3 through 0.9.12 are affected.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Other MCP servers and tools vulnerabilities

All Other MCP servers and tools entries