guides

The State of MCP Server Security, December 2026

We security-scanned 73,707 MCP servers. 17.8% have at least one high or critical finding, and for most of those servers it is a known vulnerability in a library they use. Full data, top issues, and how to fix them.

In plain English. We ran our automated security scan on 73,707 MCP servers. About 1 in 6 (17.8%) have at least one serious finding. Most of those serious findings are matches against published advisories for libraries the server declares as dependencies, which authors can usually fix by updating the library. A much smaller number (191 listings) triggered our rules for suspicious code patterns. The scan is automated, so treat a score as a signal worth checking, not a verdict.

What we scanned

This is the December 2026 update to our earlier scan of more than 10,000 servers. The catalog is now far larger. Every scan number below comes from MCP Marketplace's own scanner (advisory details and fixed versions come from the public advisories), run across approved or flagged listings with a stored security report as of December 5, 2026. The scanner has changed since June, so we do not read the differences as a trend.

The headline numbers

MeasureServersShare of 73,707
Scanned listings73,707100%
Approved70,13595.2%
Flagged (visible to owners and admins)3,5724.8%
At least one high or critical finding13,11617.8%
Have a remote endpoint57,43577.9%
Have a GitHub repo43,44258.9%

A server can have both a remote endpoint and a repo, so the last two rows overlap.

Score distribution

Scored listings get a 0 to 10 estimate, where a higher score means lower assessed risk.

ScoreServersShare of bucketed servers
9 to 1027,74038.1%
7 to 8.934,47047.3%
5 to 6.96,1798.5%
Below 54,4206.1%

These four buckets add up to 72,809. The other 898 listings fall outside them, and we have not broken those out. 62,210 listings score 7 or higher: 85.4% of the 72,809 bucketed listings, or 84.4% of all 73,707.

A serious finding does not always mean a low score. At most 11,497 listings are outside the 7-or-higher group (the 10,599 scoring under 7 plus the 898 unbucketed), so at least 1,619 of the 13,116 listings with a high or critical finding still scored 7 or higher. How the score is built is covered below.

Where the high and critical findings come from

Distinct servers per category, among the 13,116 with at least one high or critical finding:

CategoryServers
Supply chain (dependency advisories)10,887
Remote protocol1,055
Package verification1,005
Remote tools*739
Vulnerability (code)439
Auth341
Quality302
Malicious191
Permissions165
Secrets29

Servers can appear in several rows. *Remote tools is a stored count that may include results from a rule we have since corrected, so treat that row as an upper bound.

Supply chain stands apart: 10,887 listings, about 83% of the listings with a serious finding and 14.8% of all scanned listings, had a high or critical dependency-advisory match. Only 29 listings had a high or critical finding for potential hardcoded secrets. That number measures scanner detections, nothing more.

The top findings, and what to upgrade to

The most common high or critical findings, by distinct servers:

FindingServers
Known vulnerability in @modelcontextprotocol/sdk5,227
Known vulnerability in zod2,831
Known vulnerability in mcp (Python SDK)1,855
Known vulnerability in vitest1,329
"Initialize request failed" (remote probe)735
npm package name mismatch (check since retired, see below)701
Known vulnerability in fastmcp490
Known vulnerability in esbuild441
Known vulnerability in cryptography315
Known vulnerability in vite256
Known vulnerability in wrangler248
"Connection failed" (remote probe)213
Known vulnerability in next193
Known vulnerability in starlette171

After publishing, we retired the npm package name check. When we reviewed its matches, they turned out to be false alarms, so the listings that carried it are being re-scanned without it.

The official SDKs and a few widely used libraries are common among flagged listings. That is not a sign the authors were careless: these packages have published a lot of security advisories, and the scanner matches the versions a server declares against them. Whether a given server is actually exposed depends on its code and how it is deployed, which the scanner does not determine.

We have not traced which advisory triggered each server's finding. The finding's description includes the advisory ID, so each author can see theirs on their listing. Below is the current public advisory picture for four selected packages, from the GitHub Advisory Database (and, for FastMCP, the project's own advisories) as of December 5, and what to move to.

@modelcontextprotocol/sdk (TypeScript). The database lists nine advisories, most rated high, covering request-size limits, memory exhaustion, bearer-token handling, OAuth credential handling, experimental task isolation, cross-client data leaks, a regular-expression denial of service, and DNS rebinding protection. Examples: GHSA-46jr-4wx8-v453, GHSA-6qxp-vccf-f47h, GHSA-345p-7cg4-v4c7. Version 1.32.0 is the patch floor for the legacy @modelcontextprotocol/sdk package. If your server uses the SDK's bearer authentication, a version bump is not enough. GHSA-rvq5-wwqv-78pq is fixed by an expectedResource setting that is off by default: pass your audience to requireBearerAuth() and return the token's audience from verifyAccessToken() as AuthInfo.resource. The 2.x line is split into separate packages with their own patched versions, listed in that advisory.

zod. The one high-severity advisory is GHSA-mrhx-c7xc-m3w5, memory exhaustion during oversized array validation, affecting versions below 4.6.6. It may account for some of the count here, but we did not verify that server by server. The fix is 4.6.6 or later, a major-version jump for anyone on zod 3, so test before you ship it. An older medium-rated advisory, GHSA-m95q-7qp3-xv42, was fixed in 3.22.3.

mcp (Python SDK). The advisory list is long and mostly high or medium: DNS rebinding, session handling, OAuth credential handling, cross-origin redirects, and more. Examples: GHSA-qx49-fqc8-xw99, GHSA-jpw9-pfvf-9f58, GHSA-9h52-p55h-vw2f. The highest patched version is 1.30.0 on 1.x and 2.2.0 on 2.x. As with the TypeScript SDK, servers using bearer authentication need more than the upgrade: GHSA-w4fh-qvv9-3v23 is fixed by setting validate_token_resource=True in AuthSettings (with resource_server_url set) and returning the audience from verify_token() as AccessToken.resource.

fastmcp. One critical advisory is GHSA-vv7q-7jx5-f767, an SSRF and path traversal in the OpenAPI provider, first fixed in 3.2.0. That first fix was incomplete: the maintainers' follow-up, GHSA-99xm-8q53-5c8p, is fixed in 3.4.9 and 4.1.0. A separate critical advisory, GHSA-gpgx-58w2-xwwf, covers code execution in the FastMCP client when parsing a server-supplied tool output schema, fixed in 3.4.8 and 4.0.11. The newest, GHSA-53cj-f5h2-r9x2 (December 4), affects gateways that mount or proxy a backend. So do not stop at 3.2.0 or 3.4.10: move to 3.4.13 or later on 3.x, or 4.2.7 or later on 4.x.

The vitest, esbuild, vite and wrangler entries are mostly build and test tooling, which shows up in the findings too. How urgent one is depends on the advisory's affected conditions and whether the package runs in CI, in development, or in production, so read the advisory before deciding.

The remote-probe entries are a different kind of finding. "Initialize request failed" and "Connection failed" mean the live test did not get a valid response or could not connect. That can be a real misconfiguration or a temporary problem. The live test reached 52,045 remote listings, and 18,453 of them (35.5%) required authentication.

What "malicious" means here

191 listings (0.26% of those scanned) have a high or critical finding in the malicious category. That is a scanner hit rate. How many servers are actually malicious is unknown to us. The category is pattern-based and covers things like data exfiltration, remote-access code and mining indicators. Where an AI review runs, it can use the category too.

A match is a reason to look closely, not a verdict about the author. Plenty of legitimate servers send an API key to the API it belongs to.

How we measured, and what it can't tell you

A listing can go through several layers:

  1. Code checks. We read public code for things like exposed secrets, risky commands, hidden or obfuscated code, and suspicious network behavior.
  2. Dependency advisories. Declared dependencies are compared against public vulnerability advisories (the GitHub Advisory Database).
  3. Package verification. We check that a listing's published package matches the repository it points to.
  4. Live testing. For servers with a remote endpoint, we test the live server the way an AI app would connect to it.
  5. AI-assisted review. Serious findings can get an AI-assisted second look.

Limits worth knowing:

  • It is automated. A score is a guide, not a guarantee or an audit. The figures come from automated scans.
  • A flag is a reason to check, not proof. Whether a server is actually exposed depends on the versions it ships and how it uses them.
  • Coverage is not exhaustive. No automated scan catches everything.
  • A serious finding does not always mean a low score, because the score weighs several kinds of evidence. We do not treat that as the measured cause of the gap between 13,116 and 4,420.
  • Findings are a point in time. A new advisory can change a listing's findings on its next scan.
  • Listings can be flagged for review after a scan.

What a server author can do today

  1. Open your listing in your MCP Marketplace dashboard and read the finding. The description names the package and carries the advisory ID.
  2. Update the dependency in the repository your listing points to. Then run your tests and deploy or publish the fix.
  3. Turn on the setting if the advisory needs one. For SDK bearer authentication, that means the resource validation settings described above.
  4. Request a re-scan. After fixing a finding, request a re-scan from your listing's edit page.
  5. Judge dev dependencies by role. For vitest, vite or esbuild, read the advisory and decide by where the package runs.

If you install servers

Check the security score before connecting a server, and read the findings, not just the number. A 7 with a dated dependency is a different thing from a 7 with a suspicious network call. For the reasoning behind each scan dimension, see what makes an MCP server secure, and for the broader threat model, MCP server security.

The summary: in this sample, the most common serious finding is a dependency-advisory match on a declared version. For those, updating the dependency is usually the fix, plus a configuration change where the advisory calls for one.

Methodology: figures reflect MCP Marketplace's automated security scans of 73,707 approved or flagged listings with a stored security report, as of December 5, 2026. Counts are distinct servers unless stated. Advisory details come from the GitHub Advisory Database and the FastMCP project's published advisories. Percentages are rounded and may not sum to 100.

Browse MCP servers

Find the servers mentioned in this post and thousands more on MCP Marketplace, with security scores and one-click install.

Browse servers

Keep reading