AI and LLM vulnerability statistics for 2026, by Stingrai's count on the OSV.dev exports: 1,697 vulnerabilities were published in AI, LLM and MCP packages from 1 January to 3 December 2026, 5.5 times the 311 in the same window of 2025. That is 15.8% of all entries in PyPI, npm, Go, crates.io and Maven, up from 10.9% in 2025.
Quick answer. Disclosure in the AI software stack is rising faster than in open source overall, but one project explains most of the gap: openclaw, an npm AI gateway, and its @openclaw/ plugins account for 594 of the 2026 entries. Without them the AI cohort grew 3.5 times, against 3.6 times for everything else in the five ecosystems, and its share stayed at 10.8%. What stands out is the shape of the flaws. MCP packages went from 39 entries to 280 in the same window, and AI packages list server-side request forgery, OS command injection and missing authentication 1.7 to 2.2 times as often as the baseline. 90.3% list a fixed version, and 11 of their CVEs are on CISA's Known Exploited Vulnerabilities list.
This page is a computation, not a survey. Stingrai downloaded the OSV bulk export for five ecosystems on 4 December 2026, defined an explicit list of AI, LLM and MCP packages, de-duplicated the records and counted, with every rule in the Method so anyone can rerun it and get the same numbers.
How many AI and LLM vulnerabilities were published in 2026?
From 1 January to 3 December 2026, the AI cohort logged 1,697 vulnerabilities across 265 packages, against 311 in the same window of 2025 and 336 in all of 2025. Across all years, the cohort holds 2,752 of the 29,579 de-duplicated vulnerabilities in the five ecosystems (9.3%), spread over 322 packages; 1,715 of those vulnerabilities are on PyPI, 948 on npm, 50 on Go, 28 on Maven and 11 on crates.io.

Figure 1: AI, LLM and MCP package vulnerabilities per year by category, 2020 to 3 December 2026, each panel on its own scale. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026.
The mix has turned over. Model and ML libraries produced the cohort's first wave: 202 entries in 2021 and 171 in 2022, and 370 of those 373 involve a TensorFlow package. In 2026 that category logged 39. The growth now sits in the code that wraps models: agent frameworks and AI agents (832), LLMOps, UI and notebook apps (348), MCP servers and SDKs (280) and inference servers (118).
Category | All years | 2026 to 3 Dec | Same window 2025 | High or critical (of labelled) | Fixed version listed |
|---|---|---|---|---|---|
Agent frameworks and AI agents | 864 | 832 | 28 | 50.6% | 96.1% |
LLMOps, UI and notebook apps | 629 | 348 | 91 | 64.1% | 83.1% |
MCP servers and SDKs | 324 | 280 | 39 | 61.1% | 88.0% |
Inference and serving | 196 | 118 | 54 | 55.3% | 83.2% |
LLM gateways and SDKs | 68 | 53 | 7 | 57.4% | 77.9% |
Model and ML libraries | 564 | 39 | 60 | 35.1% | 96.3% |
LLM app and RAG frameworks | 107 | 27 | 32 | 63.1% | 83.2% |
All AI, LLM and MCP packages | 2,752 | 1,697 | 311 | 52.7% | 90.3% |
Baseline: all five ecosystems | 29,579 | 10,767 | 2,810 | 51.5% | 85.1% |
Table 1: AI, LLM and MCP package vulnerabilities by category. Each vulnerability is counted once per ecosystem and placed in one category. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026, records published to 3 December 2026.
Is the AI stack's share of vulnerabilities growing?
Yes, but the headline overstates it. The cohort's share of all vulnerabilities in the five ecosystems rose from 7.4% in 2024 to 10.9% in 2025 and 15.8% in 2026. All 594 entries for openclaw (the npm package and its @openclaw/ plugins) were published in 2026, starting on 4 February; its npm registry entry describes it as a "Multi-channel AI gateway with extensible messaging integrations". Set it aside and the cohort logged 1,103 entries in 2026, 3.5 times its 2025 pace, while everything outside the cohort grew 3.6 times. The share without openclaw is 10.8%.

Figure 2: AI cohort vulnerabilities as a share of all de-duplicated vulnerabilities in five ecosystems, by year, with 2026 shown with and without openclaw and its @openclaw/ plugins. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026.
So 2026 brought much more disclosure everywhere, and AI packages kept pace rather than pulling away, apart from a few fast-moving projects that drew advisories in volume. Counts measure how many advisories were published, not how safe a package is: popular projects with active security reporting attract more advisories, and a fixed advisory is a sign that the process works.
Package (ecosystem) | 2026 entries | What it is, by its own registry description |
|---|---|---|
openclaw (npm) | 589 | "Multi-channel AI gateway with extensible messaging integrations" |
open-webui (PyPI) | 137 | "Open WebUI" |
praisonai (PyPI) | 105 | "Open-source Python AI agent framework" |
flowise (npm) | 81 | "Flowiseai Server" |
vllm (PyPI) | 81 | "inference and serving engine for LLMs" |
praisonaiagents (PyPI) | 50 | "Open-source Python AI agent framework" |
langflow (PyPI) | 34 | "A Python package with a built-in web application" |
mlflow (PyPI) | 32 | "open source platform for the complete machine learning lifecycle" |
litellm (PyPI) | 30 | "Library to easily interface with LLM API providers" |
mcp-atlassian (PyPI) | 30 | MCP integration for Jira and Confluence |
Table 2: AI cohort packages with the most vulnerabilities published from 1 January to 3 December 2026. A vulnerability affecting several packages counts for each. Package names are compared case-insensitively, so one advisory that lists "Openclaw" counts in the 589. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026; descriptions from the npm registry and PyPI, read 4 December 2026.
How severe are AI and LLM vulnerabilities?
About as severe as everything else. Of the 2,658 cohort vulnerabilities that carry a GitHub Advisory Database severity label, 52.7% are high or critical, against 51.5% of the 28,114 labelled baseline entries; the cohort has fewer criticals (11.6% against 14.0%) and more highs (41.2% against 37.5%). 2026 entries sit at 53.8% and 51.7%. The differences are inside the cohort: LLM app and RAG frameworks carry the most criticals (34.0%), LLMOps and UI apps the most high or critical (64.1%), and model libraries the fewest (35.1%).

Figure 3: Severity mix by AI package category, the whole AI cohort and the baseline, as shares of vulnerabilities with a GitHub severity label; the right column is the share with no label. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026.
The label is GitHub's: the GitHub Advisory Database documentation says the severity level is one of four levels defined in CVSS. 3.4% of cohort entries have no label; the highest share is in inference and serving (13.3%), where 24 of the 26 unlabelled entries are for vllm. Stingrai did not compute a score for unlabelled entries.
What are the most common LLM vulnerabilities in AI packages?
The most common LLM vulnerabilities in AI packages are classic server-side web flaws, not model-specific ones. In 2025 and 2026 entries that list a CWE, the AI cohort's most frequent weaknesses are incorrect authorization (CWE-863, 10.9%), path traversal (CWE-22, 10.0%), server-side request forgery (CWE-918, 8.9%) and missing authorization (CWE-862, 7.3%). Against the baseline for the same years, SSRF appears 1.7 times as often (8.9% against 5.2%), OS command injection (CWE-78 or 77) 2.1 times (7.1% against 3.4%) and missing authentication for critical functionality (CWE-306) 2.2 times (4.4% against 2.0%).

Figure 4: Weakness classes in 2025 and 2026 vulnerabilities listing a CWE, MCP packages, the AI cohort and the baseline. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026; CWE names from MITRE CWE 5.0.
The data answers the usual suspicions unevenly:
SSRF, command injection and missing authentication: over-indexed. These hold with or without openclaw (9.9%, 7.1% and 5.4% of the cohort without it). In Stingrai's reading, they fit how AI applications work: they fetch URLs that a model or a user chose, run tools and shell commands, and expose admin and API endpoints.
Code injection (CWE-94): modestly over-indexed. 4.8% against 3.3%, and 6.5% without openclaw.
Deserialization (CWE-502): barely. 2.7% against 2.3% in 2025 and 2026, and 2.8% against 2.6% across all years. It is not a large share of published AI package advisories.
Incorrect authorization (CWE-863): driven by openclaw. The cohort's 10.9% falls to 4.9% without openclaw, below the baseline's 5.9%.
Cross-site scripting: under-indexed. 3.0% against 6.6%, and 4.0% without openclaw.
Model and ML libraries have a profile of their own. Across all years, their most common CWEs are out-of-bounds read (CWE-125, 12.6% of those listing a CWE), reachable assertion (CWE-617, 11.7%), improper input validation (CWE-20, 11.3%), NULL pointer dereference (CWE-476, 11.1%) and divide by zero (CWE-369, 9.6%): native-code bugs in tensor libraries, a different testing problem from the web-style flaws above.
Do AI package vulnerabilities have a fix?
Mostly, and more often than the baseline. 90.3% of cohort vulnerabilities (2,486 of 2,752) list a fixed version in at least one affected range, against 85.1% for the baseline, and the gap is wider for high and critical entries: 91.3% against 84.5%. That leaves 266 cohort vulnerabilities, 122 of them high or critical, with no fixed version in OSV.

Figure 5: Share of vulnerabilities with a fixed version listed, by AI package category, for the whole cohort and the baseline. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026.
LLM gateways and SDKs are lowest at 77.9%, followed by LLMOps and UI apps (83.1%) and inference servers (83.2%). OSV records carry no date for when a fix was released, so this page reports whether a fix is listed, not how long it took, and a fix can be added to a record after it is first published.
How many MCP vulnerabilities are there, and what are the MCP security risks?
OSV holds 324 vulnerabilities in packages matching Stingrai's MCP rule, across 166 distinct packages: 105 on npm, 45 on PyPI, 12 on Go, 3 on Maven and 1 on crates.io. The first was published on 29 May 2025. 2025 ended with 44; 2026 has 280 to 3 December, 7.2 times the 39 in the same window of 2025, and MCP packages are 16.5% of the AI cohort's 2026 entries. 111 of the 166 packages have exactly one entry, so this is a long tail of small servers rather than a few big projects.

Figure 6: MCP server and SDK vulnerabilities per month of first publication, May 2025 to 3 December 2026. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026.
The MCP security risks in the data are the risks of a small API server that acts on a model's behalf. Of the 317 MCP vulnerabilities that list a CWE, path traversal leads (CWE-22, 14.8%), followed by SSRF (CWE-918, 14.5%) and OS command injection (CWE-78 or 77, 13.9%, about four times the baseline's 3.4%). Missing authentication or authorization (CWE-306 or 862) appears on 13.2%. None lists deserialization. Severity is higher than the rest of the cohort: 61.1% of labelled MCP entries are high or critical, and 88.0% list a fixed version. The packages with the most entries are the mcp-atlassian server (30), the n8n-mcp server (11), the Python MCP SDK mcp (11), fastmcp (10), the TypeScript SDK @modelcontextprotocol/sdk (9) and the Rust SDK rmcp (8); the SDKs matter because every server built on them inherits their fixes, or their flaws.
These line up with the MCP specification's own warnings. Its Security Best Practices page describes SSRF as an attack where an attacker can "induce an MCP client to make HTTP requests to unintended destinations", says MCP servers "MUST NOT accept any tokens that were not explicitly issued for the MCP server", and warns that local MCP servers run with the client's privileges and should run in a sandbox with restricted file system and network access. For a full assessment approach, see the MCP server security assessment guide.
Which AI and LLM vulnerabilities are on CISA's KEV list?
Eleven. Matching every CVE alias in the cohort against CISA's Known Exploited Vulnerabilities catalog (catalog version 2026.12.03, 1,811 entries) finds 11 cohort vulnerabilities, all on PyPI: five in Langflow, four in LiteLLM, one in Ray and one in MLflow. Ten were added in 2026. They are 11 of the 105 baseline vulnerabilities whose CVEs are in KEV, and 0.42% of cohort vulnerabilities carrying a CVE, against 0.39% for the baseline: AI packages are not exploited out of proportion, but the ones that are exploited are the servers teams expose.
CVE | Product (KEV) | Package | Added to KEV | CWE (KEV) |
|---|---|---|---|---|
CVE-2025-3248 | Langflow | langflow | 5 May 2025 | CWE-306 |
CVE-2026-33017 | Langflow | langflow | 25 Mar 2026 | CWE-94, CWE-95, CWE-306 |
CVE-2026-42208 | LiteLLM | litellm | 8 May 2026 | CWE-89 |
CVE-2025-34291 | Langflow | langflow | 21 May 2026 | CWE-346 |
CVE-2026-42271 | LiteLLM | litellm | 8 Jun 2026 | CWE-78, CWE-77 |
CVE-2026-55255 | Langflow | langflow | 7 Jul 2026 | CWE-639 |
CVE-2026-0770 | Langflow | langflow | 21 Jul 2026 | CWE-829 |
CVE-2025-62593 | Ray | ray | 17 Aug 2026 | CWE-94, CWE-352 |
CVE-2026-64849 | MLflow | mlflow | 19 Aug 2026 | CWE-918 |
CVE-2026-59822 | LiteLLM | litellm | 2 Sep 2026 | CWE-287, CWE-306 |
CVE-2026-40217 | LiteLLM | litellm | 18 Nov 2026 | CWE-420 |
Table 3: AI cohort vulnerabilities whose CVE is in the CISA KEV catalog, version 2026.12.03. Source: Stingrai computation joining the OSV.dev exports to the CISA KEV JSON feed, both downloaded 4 December 2026.
KEV marks CVE-2025-3248 as known to be used in ransomware campaigns. KEV's own names for most of these entries are web-application flaws, among them missing authentication, code injection, SQL injection, command injection, server-side request forgery and authorization bypass. For the wider exploitation picture, see CISA KEV catalog statistics 2026 and the inference server security guide.
What do malicious package reports say about AI supply chain security?
AI supply chain security now includes packages that only pretend to be AI tooling. In PyPI and npm, Stingrai counted 319 OpenSSF malicious package reports whose package name matches the MCP rule or contains openai, anthropic, claude, chatgpt, langchain, ollama, huggingface, mistral or deepseek, after excluding reports that name the tea.xyz token-farming campaign. They rose from 1 in 2023 to 17 in 2024, 73 in 2025 and 228 in 2026 to 3 December. 197 of them carry MCP names (2 in 2024, 49 in 2025 and 146 in 2026), and 260 are on npm.

Figure 7: Malicious package reports in PyPI and npm with AI or MCP names, per year filed, tea.xyz campaign reports excluded. Source: Stingrai computation on the OSV.dev bulk exports, downloaded 4 December 2026.
In context, these are a sliver: 228 of the 17,465 malicious reports filed in the five ecosystems in 2026 (1.3%). But they include the real names, not just lookalikes. In May 2026 nine reports named packages carrying Mistral's name, including mistralai on PyPI and @mistralai/mistralai on npm, and the text of MAL-2026-3608 says the PyPI package was compromised as part of a worm the report calls "Mini Shai-Hulud is back". GitHub also published advisories, counted with the vulnerabilities, for malicious or compromised releases of litellm and pytorch-lightning. A name rule is crude: it counts names, not intent, a few matches are unrelated, and a report says nothing about how many installs a package had before removal. The OpenSSF project itself notes that false positives "may be present in our dataset from time-to-time".
What do OWASP and the MCP specification say about these risks?
The OWASP Top 10 for LLM Applications 2026 lists Supply Chain as LLM04:2026; its entry says that while traditional software vulnerabilities focus on code flaws and dependencies, "in ML the risks extend to third-party pre-trained models, datasets, and model artifacts", and its first attack scenario begins "A compromised dependency reaches a model development or inference environment". Its Improper Output Handling entry (LLM10:2026) says successful exploitation "can result in XSS and CSRF in web browsers as well as SSRF, privilege escalation, or remote code execution on backend systems", which is close to a description of the over-indexed CWEs above. In Stingrai's reading, Excessive Agency (LLM03:2026) is why command injection in an agent's tool matters more than the same flaw in a library nobody calls.
The MCP Security Best Practices page (specification version 2026-07-28) covers confused deputy attacks, token passthrough, SSRF, state handle hijacking, local MCP server compromise and scope minimization. For tool-level and agent-level test coverage, see the OWASP Agentic AI Top 10 test coverage checklist.
What do these numbers mean for AI and LLM application penetration testing?
Stingrai's reading of its own figures, for a security or engineering lead shipping an LLM feature, an agent or an MCP server:
The AI stack fails like web software. SSRF, path traversal, command injection and missing authentication lead the list. The difference is that a model now decides which URL is fetched, which file is read and which tool runs, so attacker input can arrive inside a document, a web page or a tool result.
An MCP server is an API with a model as its client. Test it like one: authentication on every endpoint, authorization per tool and per resource, input handling on every parameter a model can fill, and egress controls on anything that fetches a URL. MCP entries grew 7.2 times this year, and 111 of the 166 MCP packages have one entry so far.
Dependency scanning finds the version; a penetration test finds the path. Software composition analysis should flag a vulnerable LiteLLM or Langflow on every build. It cannot say whether that component is reachable through your prompts, tools and APIs in the running application, or whether your own glue code has the same flaw with no package version to flag.
Know where the exploited ones run. The 11 KEV entries sit in four projects: Langflow, LiteLLM, Ray and MLflow. Inventory where they, Open WebUI and your inference servers listen, and keep them off the internet unless they must be there.
Plan for the ones with no fix. 122 high or critical cohort vulnerabilities list no fixed version. For those, the controls are removal, replacement, isolation or a compensating check, and a retest shows whether the change worked.
Stingrai is a global CREST-accredited penetration testing services company founded in Toronto, Canada in 2021, trusted by companies from startups to enterprises to meet audit requirements for SOC 2, ISO 27001, CMMC, PCI DSS and HIPAA. OSCE³, OSWE, OSEP, CREST CRT certified penetration testers, who are also world-class security researchers and bug bounty hunters. Choose from fully human-led or hybrid (AI agents plus human penetration testers) engagements across web, API, mobile, AI and LLM, cloud, network, Active Directory and social engineering penetration tests and red team engagements.
For AI features, Snipe, Stingrai's autonomous agent for web applications and associated APIs, has a specialist sub-agent that tests AI and LLM applications, including RAG pipelines, agents and MCP servers, alongside named penetration testers; see AI and LLM penetration testing and API penetration testing. In a Hybrid Pentest, Snipe tests the full application while Stingrai's certified penetration testers test the same application manually alongside it and validate Snipe's findings. It is US$6,800 per assessment one-time, or US$1,275 per month on a 12-month plan for continuous testing, which pairs monthly Snipe testing, human-verified, with a quarterly deep dive by Stingrai's penetration testers, for one web application and associated APIs. With MCP entries up 7.2 times in a year, continuous testing keeps pace with releases better than one annual test. Every engagement comes with an attestation letter. Prices are on the pricing page; larger scopes are quoted through Get a Quote.
Method
Datasets. The OSV bulk export for each of five ecosystems,
https://osv-vulnerabilities.storage.googleapis.com/<Ecosystem>/all.zipfor PyPI, npm, Go, crates.io and Maven, downloaded between 19:10:08 and 19:10:16 UTC on 4 December 2026, and the CISA KEV JSON feed (catalog version 2026.12.03, 1,811 entries), downloaded at 19:10:16 UTC. The zips include withdrawn records (OSV's data page says the same of its all-ecosystems zip). The five zips held 281,456 JSON records. OSV redistributes each source under its own licence, as listed on that page: the GitHub Advisory Database, PyPI Advisory Database and Go Vulnerability Database under CC-BY 4.0, the Rust Advisory Database under CC0 1.0 and OpenSSF Malicious Packages under Apache 2.0.Window. Records whose
publishedtimestamp is on or after 4 December 2026 00:00 UTC (25 records) are excluded, so "2026" means 1 January to 3 December 2026 and "the same window of 2025" means 1 January to 3 December 2025. Years are the UTC year ofpublished.Withdrawn records. The 1,836 records with a
withdrawnfield are excluded.De-duplication. Within each ecosystem, records are joined when they share an ID or an alias, transitively (a record's
idand every entry in itsaliases, including CVE IDs, are nodes; connected records form one vulnerability). Each group is counted once in that ecosystem; a vulnerability affecting two ecosystems counts once in each. The rule turns 42,332 records into 29,579 vulnerabilities (the baseline); 56 further non-MAL records share a group with a MAL- record and count as malicious reports, which number 237,190.Malicious packages. Any group containing a MAL- record is a malicious package report, counted in its own series and never as a vulnerability. Reports whose
detailstext contains "tea.xyz" (case-insensitive, 140,728 reports) are the tea.xyz campaign and are left out of the AI-name series.Packages. Distinct
affected[].package.namevalues whosepackage.ecosystemis that ecosystem (or starts with it and a colon). Names are compared case-insensitively; PyPI names are normalized by turning each run of-,_and.into one-.AI cohort. A vulnerability is in the AI cohort when any of its packages is on the AI package list below or matches the MCP rule. An entry ending in
*matches every name starting with the text before it. Each vulnerability is placed in one category: MCP first, then the list's order (one vulnerability matched two categories). Some well-known names were checked and have no vulnerability records in these exports, so they would add nothing: openai, huggingface-hub, safetensors, google-genai, crewai and openai-agents on PyPI; openai, @google/genai and @openai/agents on npm.MCP rule. A package name matches
/(^|[-_./@:])mcp([-_./:]|$)/i, containsmodelcontextprotocol, or isfastmcp(PyPI) orrmcp(crates.io).AI-name rule for malicious reports. A report's package name matches the MCP rule or contains openai, anthropic, claude, chatgpt, langchain, ollama, huggingface, mistral or deepseek (case-insensitive). Gemini and Llama are not in the rule because those strings also appear in unrelated names in the same data.
openclaw. Figures "without openclaw" set aside every vulnerability that lists a package named
openclaw(case-insensitive) or one starting with@openclaw/: 594 in the cohort, all published in 2026, which leaves 1,103 of the cohort's and 10,173 of the baseline's 2026 entries.Publication date. The earliest
publishedtimestamp in the group: when a database published the entry, not when the flaw was introduced or discovered.Severity.
database_specific.severityon GHSA records (LOW, MODERATE, HIGH, CRITICAL), the highest where a group holds several. Shares are of labelled groups.Fixed version. A group counts as fixed when any of its records has an event with a
fixedkey inaffected[].ranges[].eventsfor a package in that ecosystem.CWEs and CVEs. The union of
database_specific.cwe_idsacross the group; a group counts once per CWE it lists, and shares are of groups listing at least one. The KEV join matches any CVE ID or alias in the group to the feed'scveID.Limits. OSV coverage differs by ecosystem and source. Many AI applications ship as containers, binaries or source repositories that no package ecosystem covers, so their flaws are not here. A package-name rule misses vendored or forked code and depends on how each advisory names the package. Four cohort entries list CWE-506 (embedded malicious code): GitHub advisories for malicious or compromised releases of litellm, pytorch-lightning and Mistral's SDKs that carry no MAL- alias, so they stay in the vulnerability count. Malicious package reports are reports, not confirmed installs. Counts move daily; this page is a snapshot of the 4 December 2026 exports.
Category | PyPI | npm | Go, crates.io, Maven |
|---|---|---|---|
LLM application and RAG frameworks | langchain, langchain-\, llama-index, llama-index-\, llama-hub, llama-stack, haystack-ai, farm-haystack, dspy, semantic-kernel, pandasai, vanna, spacy-llm | langchain, @langchain/\* | Maven: dev.langchain4j:\* |
Agent frameworks and AI agents | autogen, ag2, crewai-tools, smolagents, langgraph, langgraph-\, praisonai\, agentscope, metagpt, strands-agents, claude-agent-sdk | agents, @strands-agents/sdk, praisonai, openclaw, @openclaw/\*, @anthropic-ai/claude-code, @openai/codex, @google/gemini-cli, @github/copilot | none |
Inference and serving | vllm, sglang, lmdeploy, xinference, text-generation, llama-cpp-python, bentoml, ray, torchserve, tensorrt-llm | none | Go: github.com/ollama/ollama, github.com/jmorganca/ollama, github.com/mudler/localai, github.com/go-skynet/localai; crates.io: mistralrs-server-core |
LLM gateways and SDKs | litellm, anthropic, mistralai | @anthropic-ai/sdk, ai, @ai-sdk/\, @mistralai/\ | Maven: org.springframework.ai:\* |
Model and ML libraries and formats | transformers, torch, tensorflow, tensorflow-cpu, tensorflow-gpu, tensorflow-intel, intel-tensorflow, intel-tensorflow-avx512, keras, onnx, diffusers, accelerate, sentence-transformers, deepspeed, pytorch-lightning, executorch | none | Maven: org.pytorch:executorch-android; crates.io: tract-onnx |
LLMOps, UI and notebook apps | mlflow, gradio, open-webui, langflow, langflow-base, streamlit, jupyter-server, notebook, jupyterlab, label-studio, chainlit, lollms, dbgpt, chuanhuchatgpt, mindsdb, langsmith | flowise, flowise-components, flowise-ui, flowise-embed, open-webui, mlflow, langsmith | none |
MCP servers and SDKs | MCP rule | MCP rule | MCP rule |
Table 4: The AI package list. Source: Stingrai's definition for this analysis.
How to cite this page
Stingrai Research Team. "AI and LLM Vulnerability Statistics 2026: Frameworks, Inference Servers and MCP Servers." Stingrai, 4 December 2026. https://www.stingrai.io/blog/ai-llm-mcp-vulnerability-statistics-2026
Cite the underlying records to OSV.dev and their source databases under the licences listed in the Method section, and KEV matches to CISA; cite the computed figures to this page with the export date, 4 December 2026. This analysis is licensed under CC BY 4.0.
Frequently asked questions
How many AI and LLM vulnerabilities were published in 2026?
By Stingrai's count on the OSV.dev exports, 1,697 vulnerabilities were published in AI, LLM and MCP packages on PyPI, npm, Go, crates.io and Maven from 1 January to 3 December 2026, 5.5 times the 311 in the same window of 2025 and 15.8% of all 10,767 entries in those ecosystems. One npm package, openclaw, and its @openclaw/ plugins account for 594; without them the count is 1,103.
How many MCP vulnerabilities are there?
OSV holds 324 vulnerabilities in MCP server and SDK packages across 166 packages, the first published on 29 May 2025. 280 were published in 2026 to 3 December, 7.2 times the 39 in the same window of 2025. 61.1% of those with a severity label are high or critical.
What are the most common MCP security risks?
In published advisories, path traversal (14.8% of MCP vulnerabilities listing a CWE), server-side request forgery (14.5%) and OS command injection (13.9%) lead, and missing authentication or authorization appears on 13.2%. The MCP specification's Security Best Practices page adds confused deputy attacks, token passthrough, state handle hijacking and over-broad scopes.
Are AI vulnerabilities more severe than other open source vulnerabilities?
Not by much. 52.7% of AI, LLM and MCP package vulnerabilities with a GitHub severity label are high or critical, against 51.5% across all five ecosystems, and the AI cohort has fewer critical entries (11.6% against 14.0%). MCP packages are higher, at 61.1%.
Which AI vulnerabilities are in the CISA KEV catalog?
Eleven AI package vulnerabilities are in CISA's KEV catalog (version 2026.12.03): five in Langflow, four in LiteLLM, one in Ray and one in MLflow, all on PyPI. Ten were added in 2026, and KEV marks CVE-2025-3248 in Langflow as known to be used in ransomware campaigns.
What is AI supply chain security?
AI supply chain security covers the packages, models, datasets and services an AI application depends on. In package data it shows up twice: as vulnerabilities in AI frameworks, servers and SDKs, and as malicious packages that use AI names. Malicious package reports with AI or MCP names rose from 17 in 2024 to 228 in 2026 to 3 December.
Can dependency scanning replace a penetration test for an AI application?
No. Dependency scanning finds a vulnerable version of a package such as LiteLLM or Langflow and should run on every build. A penetration test shows whether that flaw is reachable through prompts, tools and APIs in the running application, and finds missing authentication or authorization in your own code that no package scanner can flag.
Related reading
MCP Server Security Assessment: Do the AI Agents Touching Your Internal Tools Need One?
Open Source Vulnerability Statistics 2026: npm, PyPI, Maven and Malicious Packages
AI Agent Security Testing (2026): What an AI Security Assessment Covers
OWASP Agentic AI Top 10: The Test Coverage to Demand Before You Ship an Agent
CVE Statistics 2026: CVEs per Year, NVD Backlog, CVSS Severity and CNAs
References
OSV.dev. Data sources and bulk downloads. https://google.github.io/osv.dev/data/. Per-ecosystem all.zip exports and the licence of each source; read 4 December 2026.
OSV.dev. Ecosystem exports for PyPI, npm, Go, crates.io and Maven. https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip and sibling paths. Downloaded 4 December 2026, 19:10 UTC; 281,456 records; every figure on this page is Stingrai's computation on these files.
CISA. Known Exploited Vulnerabilities Catalog (JSON feed). https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json. Catalog version 2026.12.03, 1,811 entries; downloaded 4 December 2026.
OpenSSF. OSV schema. Version 1.9.3. https://ossf.github.io/osv-schema/. Field definitions for published, withdrawn, aliases, affected ranges and database_specific.
OpenSSF. Malicious packages. https://github.com/ossf/malicious-packages. Repository description and false-positive note for MAL- reports.
GitHub. About the GitHub Advisory Database. https://docs.github.com/en/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database. CVSS-based severity levels.
Model Context Protocol. Security Best Practices (specification version 2026-07-28). https://modelcontextprotocol.io/docs/tutorials/security/security_best_practices. Confused deputy, token passthrough, SSRF, state handle hijacking, local server compromise and scope minimization.
OWASP GenAI Security Project. Top 10 for LLM Applications 2026. https://genai.owasp.org/top-10-for-llm-applications-2026/. LLM04:2026 Supply Chain, LLM10:2026 Improper Output Handling and LLM03:2026 Excessive Agency entries.
MITRE. CWE 5.0 definitions. https://cwe.mitre.org/data/definitions/918.html and sibling pages for CWE-22, 78, 77, 94, 502, 306, 862, 863, 79, 125, 617, 20, 476, 369, 89, 346, 420, 829, 639, 352 and 287. Weakness titles.
OSV.dev. MAL-2026-3608: Malicious code in mistralai (PyPI). https://osv.dev/vulnerability/MAL-2026-3608. Report text on the compromised release.
npm registry and PyPI. Package metadata. https://registry.npmjs.org/openclaw/latest, https://registry.npmjs.org/flowise/latest, https://pypi.org/pypi/vllm/json, https://pypi.org/pypi/praisonai/json, https://pypi.org/pypi/litellm/json and siblings. Package descriptions, read 4 December 2026.
Stingrai. Pricing. https://www.stingrai.io/pricing. Hybrid Pentest one-time and continuous prices, read 4 December 2026.
Talk to Stingrai
If you are shipping an LLM feature, an agent or an MCP server and the AI stack under it is moving faster than your test calendar, tell us which application carries the risk and we will scope the testing around it. Get a Quote for pricing within 24 hours, or book a free discovery call to walk through scope first.


