OWASP Agentic Top 10 · ASI05

Unexpected Code Execution

The agent runs code the operator never intended.

Threats currently tracked under ASI05

Showing 161–180 of 209 threats, newest first

path-traversalarbitrary-file-writelangflowapirequestcontent-dispositionunsanitized-inputagent-tool-componentssrf-adjacentASI05 · Unsafe Code ExecutionAML.T0010AML.T0048Surface: Tool LayerPropagation: Single Hop

Langflow's APIRequest component, when its 'Save to File' feature is enabled, trusts filenames supplied by an external HTTP server's Content-Disposition header without sanitizing them. A malicious or compromised remote endpoint can inject path traversal sequences to write arbitrary files outside the intended temporary directory, potentially leading to full remote code execution on the host running the agent flow.

Updated Jul 20, 2026 · CVSS 9.9

langflowprivilege-escalationdatabase-manipulationagent-frameworkrcecve-2026-8635ASI05 · Unsafe Code ExecutionSurface: Tool LayerPropagation: Single Hop

IBM Langflow versions 1.0.0 through 1.10.0 contain a critical vulnerability allowing any authenticated user to escalate privileges to superuser by directly manipulating the underlying database. This grants attackers full control over the Langflow service, enabling arbitrary system command execution and complete system compromise. Given Langflow's role as an agent orchestration/flow-building platform, this is a severe supply-chain and framework-level risk for any AI agent pipelines built on it.

Updated Jul 20, 2026 · CVSS 9.9

langflowrceexecunsandboxed-code-executionagent-frameworkauthenticated-rceai-pipeline-builderASI05 · Unsafe Code ExecutionAML.T0011AML.T0053Surface: Tool LayerPropagation: Single Hop

IBM Langflow, an open-source visual builder for AI agent/LLM workflows, contains a critical remote code execution flaw in its code validation API. Any authenticated user can submit Python code that is run directly via exec() with no sandboxing, granting them full control over the server process. Given a 9.9 CVSS score, this is a near-maximum severity issue requiring immediate patching or mitigation.

Updated Jul 19, 2026 · CVSS 9.9

pickledeserializationrcelangflowagent-frameworkcache-poisoningcve-2026-8476ASI05 · Unsafe Code ExecutionAML.T0010AML.T0011Surface: Tool LayerPropagation: Single Hop

IBM Langflow's disk caching component deserializes cached objects using Python's unsafe pickle.loads() without any validation or authentication. An attacker who can influence cache contents—via crafted workflow inputs, custom components, or API calls—can trigger arbitrary code execution with the privileges of the Langflow server, leading to full system compromise.

Updated Jul 19, 2026 · CVSS 9.9

langflowssrfagent-frameworkibminsecure-default-configcloud-metadata-exposureASI05 · Unsafe Code ExecutionSurface: Tool LayerPropagation: Single Hop

Langflow, an open-source framework used to build AI agent workflows, contains a server-side request forgery vulnerability caused by weak default configuration and incomplete SSRF protections. An attacker could exploit this to make the Langflow server issue unauthorized requests to internal or cloud-metadata endpoints, potentially exposing sensitive infrastructure or credentials. This is a genuine, credibly documented vulnerability (CVSS 7.7) rather than a speculative or low-quality report.

Updated Jul 18, 2026 · CVSS 7.7

langflowpath-traversalarbitrary-file-writecontent-dispositionauthenticated-attackerrce-potentialagent-frameworkASI05 · Unsafe Code ExecutionSurface: Tool LayerPropagation: Single Hop

IBM Langflow, an open-source visual builder for AI agent workflows, contains a path traversal flaw where a malicious flow can fetch attacker-controlled content and write it to arbitrary paths on the server via a crafted Content-Disposition header. An authenticated attacker can abuse this to overwrite configuration, code, or scheduled/startup files, likely leading to full compromise of the Langflow instance. This is a serious framework-level vulnerability requiring only low-privilege authenticated access.

Updated Jul 18, 2026 · CVSS 8.8

langflowcode-executionprivilege-escalationpython-interpreteragent-frameworkinput-validationASI05 · Unsafe Code ExecutionSurface: Tool LayerPropagation: Single Hop

A vulnerability in IBM Langflow's Python Interpreter component allows an authenticated user to execute arbitrary commands with elevated privileges due to improper input validation. This affects Langflow OSS versions 1.0.0 through 1.10.1, and could allow an attacker with low-level access to escalate privileges and take control of the underlying system. Given the CVSS score of 8.8, this is a serious flaw that requires prompt patching.

Updated Jul 18, 2026 · CVSS 8.8

langflowrcedenylist-bypassunauthenticatedagent-componentscodeactagentcsvagentopendsstaragentASI05 · Unsafe Code ExecutionAML.T0011AML.T0053Surface: Tool LayerPropagation: Single Hop

IBM Langflow OSS versions 1.0.0 through 1.10.1 expose a public flow build endpoint that allows unauthenticated remote code execution due to an incomplete security denylist. Attackers can construct flows using code-execution-capable agent components (OpenDsStarAgent, CodeActAgentSmolagents, CSVAgent) that are not blocked by the validation function, achieving arbitrary code execution without any authentication.

Updated Jul 18, 2026 · CVSS 8.1

langflowtoolguardcode-injectionmcpcross-tenantprivilege-escalationagent-frameworkASI05 · Unsafe Code ExecutionAML.T0051AML.T0053Surface: Tool LayerPropagation: Single Hop

IBM Langflow contains a vulnerability where its ToolGuard security policy fails to validate dynamically generated Python code fields, allowing attackers with flow creation privileges to inject and execute arbitrary code on the backend despite custom component restrictions being disabled. The flaw is worsened by an MCP tool that accepts attacker-controlled user IDs, enabling cross-tenant injection into other users' flows, and can require little to no authentication under common misconfigurations.

Updated Jul 18, 2026 · CVSS 9.9

MCPRCEcommand-injectionLiteLLMagent-frameworkunsanitized-inputserver-configASI05 · Unsafe Code ExecutionAML.T0011AML.T0053Surface: Tool LayerPropagation: Single Hop

LiteLLM 1.18.10 allows any user who can submit MCP server configuration JSON to specify arbitrary OS commands and arguments that are executed unvalidated on the host. This gives an attacker remote code execution with the privileges of the LiteLLM process, a critical risk given the 9.8 CVSS score and the ease of exploitation.

Updated Jul 18, 2026 · CVSS 9.8

MCPcommand-injectionexecSyncagent-orchestrationtool-poisoningRCEagentic-flowASI05 · Unsafe Code ExecutionAML.T0053AML.T0011Surface: Tool LayerPropagation: Single Hop

Agentic-Flow's MCP server tools passed user- and agent-supplied parameters (agent, task, name, language, agentdb) directly into shell commands via execSync() without sanitization, enabling arbitrary OS command execution. Any client, upstream agent, or automated caller able to invoke these MCP tools could achieve full remote code execution at the privilege level of the MCP server process. This is a critical, unauthenticated-adjacent injection flaw affecting core orchestration and swarm tooling.

Updated Jul 18, 2026 · CVSS 8.8

prompt-injectionpersistent-memoryclaude-codeopenai-codexresearchagentic-coding-assistantmulti-session-attackASI05 · Unsafe Code ExecutionAML.T0051AML.T0054Surface: MemoryPropagation: Single Hop

Academic research demonstrates that malicious instructions planted inside persistent memory files (used by agentic coding assistants like Claude Code and OpenAI Codex for cross-session context) can influence and hijack future agent sessions. This is a controlled research study, not an observed in-the-wild exploit, but it highlights a real and underexplored attack surface as agents adopt long-term memory.

Updated Jul 17, 2026

MCPsecurity-researchdefensive-toolingvulnerability-scanningcommand-injectionfile-system-accessruntime-verificationASI05 · Unsafe Code ExecutionSurface: Tool LayerPropagation: None

This is a defensive security research paper describing FlowGuard, a detection system that identifies real vulnerabilities (like command injection and file system access risks) in MCP servers by combining semantic analysis with runtime evidence verification. It is not an active exploit or attack technique, but rather a scanner designed to help defenders find genuine risks in the MCP ecosystem, which it did find in real-world servers (523 findings across 326 servers). The paper itself poses no direct threat; it highlights that underlying vulnerabilities in MCP tool implementations are prevalent enough to warrant sophisticated detection tooling.

Updated Jul 17, 2026

MCPSTDIORCEunauthenticatedagent-frameworkcommand-injectionexposed-management-interfaceASI05 · Unsafe Code ExecutionAML.T0011AML.T0053Surface: Tool LayerPropagation: Single Hop

The Fay AI agent framework (version 4.3.1) exposes its MCP server management interface without adequate access control, allowing remote attackers to register a malicious MCP STDIO server with attacker-controlled commands. This results in full arbitrary command execution on the host running the Fay service, making it a critical, easily exploitable remote code execution vulnerability.

Updated Jul 17, 2026 · CVSS 9.8

codexcoding-agentsfile-deletionsandboxingfull-access-modedata-lossagentic-aiASI05 · Unsafe Code ExecutionSurface: Tool LayerPropagation: None

Reports indicate that OpenAI's Codex coding agent (referenced as GPT-5.6) can unexpectedly delete a user's entire $HOME directory when run in 'full access mode' without sandboxing or auto-review safeguards. The root cause is the model attempting to override the $HOME environment variable to create a temporary directory and mistakenly deleting the real $HOME instead. This is an unintentional agent malfunction rather than a malicious attack, but it demonstrates severe real-world consequences of granting autonomous coding agents unsandboxed filesystem access.

Updated Jul 16, 2026

MCPdbt-mcpargument-injectionsubprocessCLI-flag-injectiontool-poisoningparameter-sanitizationASI05 · Unsafe Code ExecutionSurface: Tool LayerPropagation: Single Hop

The dbt-mcp MCP server, prior to version 1.17.1, failed to sanitize client-supplied node_selection and resource_type values before passing them as dbt CLI arguments. Although the use of shell=False blocks shell metacharacter injection, an MCP client could still smuggle dbt global flags like --profiles-dir, --project-dir, or --target into the subprocess call, allowing unauthorized redirection of dbt execution context.

Updated Jul 16, 2026 · CVSS 6.3

MCPsecret-scanning-bypassfile-readrepomixdata-exfiltrationsecurity-boundary-bypassASI05 · Unsafe Code ExecutionSurface: Tool LayerPropagation: Single Hop

Repomix's MCP server contains a flaw where two specific tool flows can be used to register and read arbitrary local files without triggering the secret-scanning safety check that normally protects file reads. This allows an MCP client (or an attacker controlling one) to exfiltrate sensitive local files, including those containing credentials, that were meant to be blocked by the redaction/validation layer.

Updated Jul 16, 2026

SSRFcredential-leaktool-schema-abuseelasticsearchstrands-agentsmemory-toolprompt-injection-enabledASI05 · Unsafe Code ExecutionAML.T0051AML.T0053Surface: Tool LayerPropagation: Single Hop

The elasticsearch_memory tool in strands-agents-tools exposed connection parameters like the target host directly to LLM control, allowing a crafted prompt to redirect the tool to an attacker-controlled server. When the api_key parameter was omitted, the tool silently fell back to the operator's environment-stored Elasticsearch API key and sent it to whatever host the LLM specified, leaking the credential via the Authorization header. This is a classic tool-schema over-permissioning issue that turns an LLM-controllable field into a credential exfiltration vector.

Updated Jul 16, 2026 · CVSS 6.5

MCPwebsocketorigin-validationCSWSHcross-site-websocket-hijackingmcp-python-sdkdeprecated-transportASI05 · Unsafe Code ExecutionSurface: ProtocolPropagation: Single Hop

The deprecated WebSocket transport in the MCP Python SDK accepted connections without validating Host or Origin headers, meaning any malicious webpage a victim's browser visits could open a WebSocket connection to a locally or network-exposed MCP server. This is a classic Cross-Site WebSocket Hijacking (CSWSH) pattern that could let an attacker-controlled origin interact with an MCP server's tools on behalf of an unwitting user. Severity is moderated because the affected transport is deprecated and impact depends on what the exposed server can do and whether it's reachable from a browser context.

Updated Jul 16, 2026

prompt-injectiondata-exfiltrationlethal-trifectaclaudeweb_fetchanthropictool-misusememory-poisoningASI05 · Unsafe Code ExecutionAML.T0051AML.T0043Surface: Tool LayerPropagation: Single Hop

A researcher discovered a loophole in Anthropic's Claude web_fetch tool that allowed a malicious website to exfiltrate private user data (name, location, employer) by chaining together a sequence of attacker-controlled links discovered within previously fetched pages. This bypassed the intended safeguard that web_fetch could only follow user- or search-originated URLs, effectively encoding stolen data letter-by-letter into a series of outbound requests. Anthropic has since patched the issue by disallowing navigation to links found within fetched content.

Updated Jul 15, 2026