Vulnerability · Published Oct 22, 2026 · Assigned by AMZN
CVE-2026-115414OS command injection in the Terraform hook in AWS SAM CLI
High 7.8
In plain English
A high-severity OS command injection in aws-sam-cli from AWS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities).
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.9%top 40.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AWS | aws-sam-cli | 1.63.0 – before 1.166.2 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2 release-notes, patch
- https://aws.amazon.com/security/security-bulletins/2026-145-aws/ vendor-advisory
- https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6 third-party-advisory