A new analysis of 9,695 Model Context Protocol (MCP) servers has found that popularity, activity, and verification badges offer no reliable protection against security flaws, and has cataloged 4,982 security issues across 2,259 affected servers.
TrendAI crawled four major MCP directories GitHub, Glama, Lobehub, and PulseMCP between November 2025 and March 2026, correlating directory metadata with previously discovered vulnerabilities.
Of the 9,695 unique servers identified, 5,832 showed some form of security weakness. After excluding 3,573 servers flagged solely for lacking authentication, a factor considered aggravating but not disqualifying on its own, 2,259 servers remained with confirmed.
4,982 Security Issues Expose 2,259 Public MCP Servers
The 4,982 documented issues span a wide range of categories. Arbitrary file access accounted for 880 cases, followed by denial-of-service at 490, command injection at 476, and server-side request forgery (SSRF) at 422.
SQL injection appeared 211 times, prompt injection 185 times, cross-site scripting 155 times, code injection 101 times, and authorization bypass just 8 times.

TrendAI grouped these into three risk categories: genuine vulnerabilities arising from unintentional coding flaws, vulnerable-by-design issues such as missing authentication, and malicious behavior like prompt injection that directly targets AI agents.
The study systematically tested and debunked several common assumptions about software trustworthiness.
Grouping servers by GitHub star count showed no meaningful correlation between popularity and security; high-star servers simply meant a larger “blast radius” when issues did occur, since more users would be exposed to any given flaw.
Commit activity told a similar story, as more actively maintained servers weren’t meaningfully safer, though repositories with zero commit history, likely forks or mirrors, showed the highest average issue count because they inherited flaws from their upstream source.
Most tellingly, verified servers averaged nearly as many security issues as unverified ones, directly undermining the assumption that MCP directory verification badges signal safety.

The report highlighted specific cases illustrating the danger. One developer released more than 40 cryptocurrency- and DeFi-focused MCP servers without verification by any directory, resulting in 101 security issues across 13 servers.
These included a server-side template injection in a news-fetching tool that could have enabled full server-side code execution, and a prompt injection in a trade-analysis tool capable of directly altering an AI agent’s behavior.
Another provider’s office-automation servers contained code-injection flaws in which MCP tools called Python’s eval() function directly, alongside path-traversal vulnerabilities in a document-handling server with more than 100 stars.
A commercial enterprise middleware vendor’s servers, designed for production database integration, contained SQL injection flaws exploitable via natural-language queries, as well as unauthenticated Active Directory access that could enable reconnaissance and privilege escalation within corporate networks.
Issues frequently clustered together, such as arbitrary file access paired with missing authentication, suggesting broad gaps in input validation rather than one-off coding mistakes.
Because MCP servers connect AI agents to terminals, databases, and files, even a single compromised server can expose an entire agentic workflow to attack. Researchers recommend that organizations abandon a “trust-by-default” mindset for MCP integrations.
Effective mitigation requires auditing third-party code before deployment, enforcing authentication and least-privilege access, rigorously validating inputs, and inspecting traffic in real time to detect anomalous behavior.
Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyberpress as a Preferred Source in Google.