Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| AWS / aws-sam-cli | affected 1.63.0 before 1.166.2 |
CWE
CWE-78
References
- https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2
- https://aws.amazon.com/security/security-bulletins/2026-145-aws/
- https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6
ADP enrichment
No English description supplied.
No references supplied.