OS Command Injection Vulnerability in AWS SAM CLI
CVE-2026-115414

8.4HIGH

Key Information:

Vendor

Aws

Vendor
CVE Published:
22 October 2026

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

References

CVSS V4

Score:
8.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Cipher by Causal Security
.