OS Command Injection Vulnerability in AWS SAM CLI
CVE-2026-115414
8.4HIGH
What is CVE-2026-115414?
A vulnerability exists in the AWS SAM CLI whereby an attacker can exploit an OS command injection through the Terraform hook. This occurs in versions prior to 1.166.2, allowing malicious users to manipulate the Terraform configuration or plan file in a manner that enables them to execute arbitrary commands with the privileges of the build user on the host machine conducting the build. It is essential for users to upgrade to version 1.166.2 or later to mitigate this risk effectively.
Affected Version(s)
aws-sam-cli 1.63.0 < 1.166.2
