CVE-2026-115414

published 22 Oct 2026 · updated 23 Oct 2026

OS command injection in the Terraform hook in AWS SAM CLI

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.166.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
AWS>=1.63.0 <1.166.21.166.2

Exploit evidence

1 public sources

Vendor advisories

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-115414 severity on Zeptric[![CVE-2026-115414](https://zeptric.io/badge/cve/CVE-2026-115414.svg)](https://zeptric.io/cve/CVE-2026-115414)