Code injection in AI agents

29 CVEs17 criticalUpdated October 22, 2026Source: NVDDownload CSV

21 CVEs in 2026

MonWedFri JanFebMarAprMayJunJulAugSepOct

September 2026

Sep 22
MCP Atlassian8.8CVE-2026-77271

Validate_safe_path defaults its base directory to os.getcwd(), and affected Confluence attachment call sites omit base_dir, allowing attacker-selected writes within the working directory.

Sep 21
MCP-for-Stata8.4CVE-2026-55071

The ado_package_install MCP tool in stata-mcp concatenates user-controlled input directly into a Stata command string without any validation or sanitization.

Sep 15
MCP Context Forge10.0CVE-2026-53710

The python_sandbox_server in mcp-servers/python/python_sandbox_server/src/python_sandbox_server/server_fastmcp.py exposes raw getattr through safe_builtins, omits a required _getattr_ guard, and relies on…

August 2026

Aug 27
ToolUniverse10.0CVE-2026-81096

ToolUniverse ran caller-supplied Python inside a sandbox that could be escaped, on a server that required no authentication.

Aug 21
Omnigent9.0CVE-2026-62674

PUT /sessions/{session_id}/agent checks LEVEL_EDIT permission for a session but does not reject a bound shared or template agent whose agent.session_id is None.

Aug 19
marimo8.8CVE-2026-75149

marimo before 0.23.15 contains a code injection vulnerability in the notebook configuration handler that allows attackers to execute arbitrary commands by supplying a crafted MCP server entry with an…

Aug 6
FrontMCP9.3CVE-2026-67531

The sandboxed codecall:execute tool exposes live host Zod schema instances to the script via getTool(), and because Zod v4 defines _zod as a non-configurable, non-writable own property, the ECMAScript Proxy…

Aug 3
Ouroboros8.4CVE-2026-66065

Versions prior to 0.42.1 have an incomplete denylist.

July 2026

Jul 17
IBM Langflow OSS9.9CVE-2026-9135

IBM Langflow OSS 1.0.0 through 1.10.0 Langflow versions up to 1.9.2 (commit 94981c443d4918517b9e8163d70fc598dc33a32d) contain a code injection vulnerability in the Policies component's ToolGuard integration…

Jul 15
xszyou Fay9.8CVE-2026-30618

xszyou Fay 4.3.1 contains a remote code execution vulnerability in its MCP STDIO server management and command execution handling.

June 2026

Jun 15
Cursor8.5CVE-2026-48124

The Cursor Desktop could execute workspace-defined Claude hook commands from .claude/settings.local.json without dedicated user approval.

May 2026

May 29
Roslyn CodeLens MCP Server7.8CVE-2026-45555

The get_diagnostics MCP tool loads and executes all DiagnosticAnalyzer assemblies referenced by the target solution without any allowlist, signature check, or user confirmation; includeAnalyzers defaults to…

May 27
claude-code-cache-fix7.8CVE-2026-45136

Tools/quota-statusline.sh (introduced in v3.5.0) interpolates Claude Code's hook stdin payload directly into a Python triple-quoted string literal.

May 15
MCP Calculate Server9.8CVE-2026-44717

The use of eval() to evaluate mathematical expressions without proper input sanitization leads to remote code execution.

May 12
Open Source Kubectl MCP Server9.8CVE-2025-65719

An issue in Open Source Kubectl MCP Server v1.1.1 allows attackers to execute arbitrary code on a victim system via user interaction with a crafted HTML page.

May 8
PraisonAI9.6CVE-2026-44336

PraisonAI's MCP (Model Context Protocol) server (praisonai mcp serve) registers four file-handling tools by default — praisonai.rules.create, praisonai.rules.show, praisonai.rules.delete, and…

April 2026

Apr 14
Codex9.8CVE-2025-61260

A vulnerability was identified in OpenAI Codex CLI v0.23.0 and before that enables code execution through malicious MCP (Model Context Protocol) configuration files.

March 2026

Mar 11
Cloud CLI (aka Claude Code UI)8.8CVE-2026-31861

The /api/user/git-config endpoint constructs shell commands by interpolating user-supplied gitName and gitEmail values into command strings passed to child_process.exec().

February 2026

Feb 10
GitHub Copilot8.8CVE-2026-21256

Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an unauthorized attacker to execute code over a network.

Feb 3
Claude Code8.8CVE-2026-24887

Due to an error in command parsing, it was possible to bypass the Claude Code confirmation prompt to trigger execution of untrusted commands through the find command.

January 2026

Jan 16
Dive9.6CVE-2026-23523

Crafted deeplink can install an attacker-controlled MCP server configuration without sufficient user confirmation and can lead to arbitrary local command execution on the victim’s machine.

December 2025

Dec 19
Dive9.6CVE-2025-66580

A critical Stored Cross-Site Scripting (XSS) vulnerability exists in versions prior to 0.11.1 in the Mermaid diagram rendering component.

Dec 3
DeepChat9.6CVE-2025-66222

There is a Stored Cross-Site Scripting (XSS) vulnerability in the Mermaid diagram renderer allows an attacker to execute arbitrary JavaScript within the application context.

November 2025

Nov 19
Claude Code9.8CVE-2025-65099

When running on a machine with Yarn 3.0 or above, Claude Code could have been tricked to execute code contained in a project via yarn plugins before the user accepted the startup trust dialog.

October 2025

Oct 3
Cursor7.5CVE-2025-61590

Versions 1.6 and below are vulnerable to Remote Code Execution (RCE) attacks through Visual Studio Code Workspaces.

Oct 3
Claude Code8.8CVE-2025-59536

Versions before 1.0.111 were vulnerable to Code Injection due to a bug in the startup trust dialog implementation.

September 2025

Sep 22
Flowise10.0CVE-2025-59528

Flowise is vulnerable to remote code execution.

Sep 10
Claude Code9.8CVE-2025-59041

At startup, Claude Code executed a command templated in with `git config user.email`.

Sep 10
Claude Code9.8CVE-2025-58764

Due to an error in command parsing, versions prior to 1.0.105 were vulnerable to a bypass of the Claude Code confirmation prompt to trigger execution of an untrusted command.