Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AWS | strands-agents-tools | < 0.8.0 | 0.8.0 |
References
- https://pypi.org/project/strands-agents-tools/0.8.0/ release-notes patch
- https://aws.amazon.com/security/security-bulletins/2026-072-aws/ vendor-advisory
- https://github.com/strands-agents/tools/security/advisories/GHSA-mqvc-p852-wf8x release-notes