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

CVE-2025-10193: Neo4j Cypher MCP server is vulnerable to DNS rebinding

highCVSS 4.0 7.4GHSA-vcqx-v2mg-7chx

The Neo4j Cypher MCP server (mcp-neo4j-cypher) 0.2.2 up to 0.4.0 can be driven by a malicious website through DNS rebinding. The page invokes tools against a locally running HTTP or SSE instance, including Cypher queries on your database. Upgrade to 0.4.0 or run in stdio mode.

Published Sep 11, 2025 · Analysis Nov 1, 2026

What an attacker can do

When the server runs over HTTP or SSE on a local port, it does not check the Origin or Host of incoming requests. DNS rebinding abuses that. The victim opens a hostile page, the page keeps a domain whose DNS answer flips from the attacker address to 127.0.0.1, and the browser treats later requests to the local server as same-origin. The page can then send MCP tool calls to it, for example to read or write Neo4j data.

The attacker needs a victim who visits the page and stays long enough for rebinding to succeed, which is why the vector has user interaction and high attack complexity. The attacker does not need to be on your network. The impact is high for confidentiality and integrity, since the tools run Cypher against the connected database with the server credentials.

Stdio setups, where an MCP client launches the server as a child process, have no listening port and are not reachable this way.

Who is affected

Affected: mcp-neo4j-cypher from 0.2.2 up to but not including 0.4.0, when started with the HTTP or SSE transport on a local port. Check the version:

pip show mcp-neo4j-cypher

Then check how it is launched. A transport flag of http or sse, or a published Docker port, means the web path is open. Stdio launches are not exposed.

mcp-neo4j-cypher

Ecosystem
PyPI
Affected
>= 0.2.2, < 0.4.0
Fixed in
0.4.0
Check
pip show mcp-neo4j-cypher

How to fix it

Upgrade to mcp-neo4j-cypher 0.4.0.

pip install --upgrade mcp-neo4j-cypher==0.4.0

Version 0.4.0 adds CORS middleware that blocks web-based access by default. Allowed origins are set with the NEO4J_MCP_SERVER_ALLOW_ORIGINS environment variable or the --allow-origins flag, as a comma-separated list. The pull request also adds Trusted Host middleware, limits CORS methods to POST and GET, defaults the manifest host to 127.0.0.1 and sets the Docker default transport back to stdio. If you cannot upgrade, the advisory says to use stdio mode.

How to tell if you were hit

Check the server logs for MCP requests arriving with an unexpected Host header or an Origin from a public website. Review Neo4j query logs for Cypher statements you did not run, around times when someone browsed external sites. Confirm which hosts run the server with a non-stdio transport. Beam records MCP tool calls from agents, which helps separate your own tool calls from unexpected ones.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

DNS rebinding vulnerability in Neo4j Cypher MCP server allows malicious websites to bypass Same-Origin Policy protections and execute unauthorised tool invocations against locally running Neo4j MCP instances.&nbsp;The attack relies on the user being enticed to visit a malicious website and spend sufficient time there for DNS rebinding to succeed.

Patches

CORS Middleware added to Cypher MCP server v0.4.0 that blocks all web-based access by default.

Workarounds

If you cannot upgrade to v0.4.0 and above, use stdio mode.

References

Vendor Advisory https://www.cve.org/CVERecord?id=CVE-2025-10193

Credits We want to publicly recognize the contribution of Evan Harris from mcpsec.dev for reporting this issue and following the responsible disclosure policy.

Credited to eharris128.

Questions

Is stdio mode affected?

No. The advisory lists stdio as the workaround, because no network listener exists for a rebound browser request to reach.

Does the attacker need to be on my network?

No. A victim only has to visit a malicious website and stay there long enough for DNS rebinding to succeed.

Which version fixes CVE-2025-10193?

mcp-neo4j-cypher 0.4.0, which adds CORS middleware that blocks web-based access by default.

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