What’s Vulnerable › Vulnerabilities

CVE-2026-18733: Prompt injection bypasses shell tool consent gate in Strands Agents Tools

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

How to fix

Upgrade to a fixed version: AWS strands-agents-tools 0.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-18733 or the next vulnerability affects your stack