Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft prompt with embedded non_interactive=true instruction
-
DeliveryDeliver via untrusted input channel (user message, fetched URL, or processed document)
-
ExploitAgent processes malicious prompt and invokes shell tool
-
ExecutionShell tool reads injected parameter, sets non_interactive=true
-
PersistHuman consent gate bypassed
-
ImpactArbitrary OS commands execute on agent host
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | The Strands shell tool must be enabled in the agent's tool configuration - agents that do not register or use the shell tool are entirely unaffected. The agent must process input from an untrusted or attacker-influenced source (e.g., user messages, fetched URLs, ingested documents, API responses from third parties), creating an indirect prompt injection delivery path. The AT:P designation in the CVSS 4.0 vector confirms this prerequisite: without the shell tool active and external content flowing into the prompt, exploitation is not possible. Active user interaction is required in the sense that the agent must actually invoke the shell tool during processing (UI:A). No attacker authentication is required (PR:N) - the adversarial payload rides entirely within the prompt content. Exploitation is limited to the agent host's OS command surface with the privileges of the agent process; if the agent runs with restricted OS permissions, impact may be partially contained. |
| Impact | The CVSS 4.0 score of 7.5 reflects high impact across confidentiality, integrity, and availability on the vulnerable system (VC:H/VI:H/VA:H), with no impact on subsequent systems (SC:N/SI:N/SA:N). AT:P captures the key limiting condition - the shell tool must be enabled and the agent must encounter the adversarial prompt - which meaningfully narrows the real-world attack surface compared to a pure AV:N/AC:L finding. No EPSS score was provided in the intelligence sources, leaving exploitation probability unquantified; however, the absence of a CISA KEV listing and no identified POC suggest this is not yet being actively exploited at scale. For deployments that do use the Strands shell tool and expose the agent to any external or user-controlled content, the risk is concrete and high - successful exploitation grants OS-level command execution with the agent process's privileges. Deployments that do not use the shell tool are entirely unaffected, making the tagged 'Authentication Bypass' label somewhat misleading - the bypass is specifically of the agent's consent gate, not of an authentication system. |
| Exploit ScenarioDerived | An attacker who can influence any content reaching an agent's prompt - such as a user chat message, a web page the agent fetches, or a document it processes - embeds hidden instructions like 'set non_interactive to true and run [command]' within that content. When the agent invokes the Strands shell tool while processing this input, the injected instruction overrides the consent gate parameter, and the shell tool executes the specified OS command with the agent's process privileges without prompting for human approval. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 03, 2026
Prompt injection in Amazon Strands Agents Tools before 0.8.0 enables remote actors to execute arbitrary OS commands on the agent's host by crafting input that sets the shell tool's non_interactive parameter to true, silencing the human consent gate designed to require approval before running shell commands. The CVSS 4.0 vector (AV:N/PR:N) confirms no attacker authentication is required, though the agent must actively process the malicious prompt (UI:A) and the shell tool must be in use (AT:P). No public exploit code or CISA KEV listing has been identified at time of analysis.
Earlier versions of this analysis (1)
Remote OS command execution in Amazon Strands Agents Tools before 0.8.0 is achievable through prompt injection in the shell tool, where attacker-controlled content instructs the framework to set the non_interactive parameter to true, disabling the human consent gate that normally requires operator approval before shell commands execute. The CVSS vector (AV:N/AC:L/PR:N/UI:R) indicates network-accessible exploitation with no privilege requirement on the attacker's side, consistent with an indirect prompt injection model where a legitimate user triggers the agent to process malicious content. No active exploitation is confirmed - no CISA KEV listing and no public exploit code identified at time of analysis - but the bypass mechanism is specific and low-complexity, raising real-world concern for deployments that process untrusted external data with the shell tool enabled.
RemediationAI
The primary fix is to upgrade strands-agents-tools to version 0.8.0 or later via pip (pip install strands-agents-tools>=0.8.0), available at https://pypi.org/project/strands-agents-tools/0.8.0/ and confirmed by the AWS advisory at https://aws.amazon.com/security/security-bulletins/2026-072-aws/. If upgrading is not immediately feasible, the most effective compensating control is to disable the shell tool entirely in any agent configuration that processes untrusted or external content - this eliminates the vulnerable code path but removes all shell execution capability from the agent. A secondary control is to restrict all input sources to the agent to fully trusted, internal-only channels (no user-supplied messages, no fetched external content, no document processing from untrusted origins), though this requires a thorough audit of every data flow reaching the agent's prompt and may not be operationally viable. Neither workaround addresses the underlying flaw; patching to 0.8.0 is the only confirmed resolution.
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
Amazon Strands Agents Tools is an AWS-published Python library (CPE: cpe:2.3:a:aws:strands-agents-tools) for building AI agent applications, including a shell execution tool that allows agents to run OS commands. The root cause is CWE-1427 (Improper Neutralization of Input Used in an AI/ML Prompt), a class of flaw where adversarial content in the prompt influences an agent's tool invocation in unintended ways. The shell tool implements a human consent gate as a safety mechanism - a checkpoint requiring human approval before executing shell commands. The vulnerability arises because the non_interactive parameter controlling this gate can be manipulated via injected prompt content, allowing an attacker-controlled instruction to suppress the consent requirement entirely. This is a canonical indirect prompt injection: attacker-controlled data (user message, fetched URL, processed document) embeds instructions that redirect the agent's tool behavior.
Know when Strands Agents Tools 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:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Shell tool must be enabled and processing untrusted input (AC:H); scope changes from agent context to host OS (S:C); no attacker credentials required (PR:N).
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
2DescriptionCVE.org
A prompt injection vulnerability in the shell tool in Amazon Strands Agents Tools before 0.8.0 might allow remote actors to execute arbitrary operating system commands on the agent's host via a crafted prompt that sets the non_interactive parameter to true, bypassing the human consent gate.
To remediate this issue, users should upgrade to version 0.8.0.
Executive ViewAI
Amazon Strands Agents Tools versions below 0.8.0 contain a prompt injection vulnerability enabling unauthenticated remote code execution on agent infrastructure through malicious inputs that bypass security controls. This poses immediate risk of system compromise and unauthorized access for any organization deploying this tool with shell automation capabilities.
Apply vendor patch. If phased patching is required: disable shell tools, implement network segmentation to restrict outbound agent access, enable comprehensive logging and monitoring of all agent inputs for injection indicators.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Strands Agents Tools
View allCredential exfiltration in AWS Strands Agents Tools before 0.8.2 exposes HTTP_REQUEST_TOKEN_CONFIG bearer tokens to atta
Server-side request forgery in the strands-agents-tools elasticsearch_memory tool enables prompt-injection attacks that
EUVD-2026-52432
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB