Skip to content
OpenAdvisories
High · 7.8 CVE-2026-115414 EUVD-2026-108281

OS command injection in the Terraform hook in AWS SAM CLI

Published Oct 22, 2026 · Updated Oct 23, 2026 · Assigned by AMZN

Description

OS command injection in the Terraform hook in AWS SAM CLI before 1.166.2 might allow an actor who can influence the Terraform configuration or plan file consumed by a build to execute arbitrary commands as the build user on the host running the build via a crafted Terraform resource address.

To remediate this issue, users should upgrade to version 1.166.2 or later.

Affected products

VendorProductAffectedFixed
AWS aws-sam-cli 1.63.0 – < 1.166.2 1.166.2

References