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.
{
"cna_assigner": "AMZN",
"cwe_ids": [
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115414.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.63.0"
},
{
"fixed": "1.166.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "v1.166.2",
"range": [
{
"fixed": "aa9da5562ce7ea65b01f7bfe10c53a4c85fa8840"
}
],
"source": "REFERENCES_TAG"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.166.2"
}
],
"source": "DESCRIPTION"
}
]
}