Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence agent prompt with injected instruction
-
DeliveryModel calls batch tool wrapping python_repl
-
ExploitForward non_interactive_mode kwarg
-
ExecutionBypass human consent gate
-
ImpactExecute arbitrary Python on host
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires that the target agent has the python_repl tool enabled AND exposes the batch tool through which keyword arguments can be forwarded, running on strands-agents-tools before 0.8.5. The concrete trigger is a crafted prompt that passes non_interactive_mode as a keyword argument via the batch tool to python_repl, which suppresses the human consent gate. Limiting factors: the attacker must be able to influence the agent's prompt/context (directly or via indirect injection through retrieved content), and success is probabilistic per CVSS AT:P - the model must actually honor the injected instruction - so it is not deterministic. Agents that do not register python_repl, or that hard-enforce operator approval independent of the model, are not exploitable. |
| Impact | The signals are largely consistent toward high priority but with one important nuance. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) yields 9.2 Critical: network reachable, no privileges, no user interaction, and total host impact. The key limiter is AT:P (attack requirements present) - exploitation is probabilistic because it depends on getting a crafted prompt to influence the agent and reliably coercing the model into forwarding non_interactive_mode through the batch tool, which is not guaranteed on every attempt. There is no EPSS score, no CISA KEV listing, and no public POC in the provided data, so there is no evidence of active or widespread exploitation; the risk is currently theoretical-but-serious rather than observed. The realistic priority is driven less by raw CVSS than by deployment context: any agent that exposes python_repl and the batch tool to untrusted or semi-trusted input (e.g., user chat, retrieved web content) is genuinely at risk of host RCE, while agents that don't enable python_repl are unaffected. |
| Exploit ScenarioDerived | An attacker submits content that reaches the agent's context - for example a chat message, a document, or a web page the agent retrieves - containing a crafted instruction that tells the model to call the batch tool and invoke python_repl with non_interactive_mode passed as a keyword argument. The agent forwards the argument, the consent gate is bypassed, and attacker-chosen Python executes on the host with the agent process's privileges. No public POC is available in the provided data, and success is probabilistic (AT:P) because it depends on the model complying with the injected instruction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 25, 2026
Remote code execution in Amazon Strands Agents Tools before 0.8.5 lets an attacker abuse the python_repl tool to run arbitrary Python on the agent's host by defeating its human-in-the-loop consent gate. A crafted prompt smuggles the non_interactive_mode flag as a keyword argument through the batch tool, causing python_repl to execute without operator approval. No public exploit has been identified at time of analysis, but the CVSS 4.0 base score is 9.2 (Critical) given full confidentiality, integrity, and availability impact on the host.
RemediationAI
Vendor-released patch: upgrade strands-agents-tools to 0.8.5 or later (pip install --upgrade 'strands-agents-tools>=0.8.5'), per AWS security bulletin 2026-089 (https://aws.amazon.com/security/security-bulletins/2026-089-aws/) and the PyPI release page (https://pypi.org/project/strands-agents-tools/0.8.5/). If you cannot upgrade immediately, remove or do not register the python_repl tool in the agent's toolset (eliminates the RCE primitive at the cost of losing dynamic code execution), or disable the batch tool so keyword arguments cannot be forwarded into python_repl (removes the injection path but breaks multi-call batching). As a further compensating control, run the agent host in a sandboxed, least-privilege, network-restricted container so that even a successful bypass yields limited blast radius, and keep human-in-the-loop approval mandatory by refusing to honor any model-supplied non_interactive_mode value - note these controls reduce but do not fully close the vulnerability, so patching remains the primary fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Strands Agents Tools is Amazon's open-source Python toolkit (distributed on PyPI as strands-agents-tools) that supplies pre-built tools an LLM agent can invoke, including python_repl for executing Python code and a batch tool for dispatching multiple tool calls in one turn. python_repl is designed with a human consent gate - code execution is meant to pause for operator approval - governed by a non_interactive_mode setting. The root cause is improper neutralization of LLM-controlled input (an argument-injection / consent-bypass flaw; no CWE was assigned in the source data): because the batch tool forwards keyword arguments from model-generated content into the underlying tool call, an attacker-influenced prompt can set non_interactive_mode=true on python_repl, bypassing the approval step. This is the emerging 'prompt-to-tool-argument injection' class where untrusted natural-language input reaches a privileged execution primitive.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable via prompt with no privileges or user interaction, but AC:H reflects the probabilistic model-compliance requirement (maps 4.0 AT:P); python_repl RCE yields full C/I/A on the host.
Primary rating from Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5).
CVSS VectorVendor: ff89ba41-3aa1-4d27-914a-91399e9639e5
Lifecycle Timeline
2DescriptionCVE.org
Improper neutralization of input used for LLM prompting in the python_repl tool in Amazon Strands Agents Tools before 0.8.5 might allow remote actors to execute arbitrary Python code on the agent's host by bypassing the human consent gate, via a crafted prompt that forwards non_interactive_mode as a keyword argument through the batch tool. To remediate this issue, users should upgrade to version 0.8.5 or later.
Articles & Coverage 1
Executive ViewAI
Amazon Strands Agents Tools (versions before 0.8.5) contains a critical vulnerability (CVSS 9.2) enabling remote code execution on affected systems with complete system compromise potential. No public exploit identified at time of analysis, but the absence of an available patch creates ongoing risk for organizations running vulnerable versions. Immediate inventory and protection of affected systems is required.
No vendor-released patch identified at time of analysis. Disable the python_repl tool if not operationally critical; isolate or restrict network access to affected systems; implement input filtering and validation on agent prompts to detect and block command injection patterns; enable comprehensive audit logging of all Python execution and system commands; establish detection for exploitation indicators including unexpected code execution, unusual process spawning, and resource consumption spikes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-65735
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB