{"id":"CVE-2026-18733","summary":"Prompt injection bypasses shell tool consent gate in Strands Agents Tools","details":"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.\n\n\n\nTo remediate this issue, users should upgrade to version 0.8.0.","aliases":["GHSA-mqvc-p852-wf8x"],"modified":"2026-08-07T11:50:28.806616110Z","published":"2026-08-03T20:33:24.872Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18733.json","cna_assigner":"AMZN","cwe_ids":["CWE-1427"]},"references":[{"type":"ADVISORY","url":"https://aws.amazon.com/security/security-bulletins/2026-072-aws/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18733.json"},{"type":"ADVISORY","url":"https://github.com/strands-agents/tools/security/advisories/GHSA-mqvc-p852-wf8x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18733"},{"type":"FIX","url":"https://pypi.org/project/strands-agents-tools/0.8.0/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strands-agents/tools","events":[{"introduced":"0"},{"fixed":"9f0d1625408a468a1e86c32efdfe1f24855aeed1"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"0"},{"fixed":"0.8.0"}]}}],"versions":["v0.7.0","v0.6.0","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.1","v0.4.0","v0.3.0","v0.2.23","v0.2.22","v0.2.21","v0.2.20","v0.2.19","v0.2.18","v0.2.17","v0.2.16","v0.2.15","v0.2.14","v0.2.13","v0.2.12","v0.2.11","v0.2.10","v0.2.9","v0.2.8","v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18733.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V4","score":"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"}]}