# CVE-2026-115414: OS command injection in the Terraform hook in AWS SAM CLI

> CVE-2026-115414: OS command injection in the Terraform hook in AWS SAM CLI. CVSS 7.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-115414
Last updated: 2026-10-23T17:17:17Z

- Published: 2026-10-22 18:34 UTC · Updated: 2026-10-23 17:17 UTC · Assigner: AMZN
- CVSS: 7.8 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.88%, 59th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-78

## 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 vendors and products

- AWS: aws-sam-cli

## Tracked companies

- [Amazon Web Services](https://rewindex.com/company/aws.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-115414)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-115414)
- [https://aws.amazon.com/security/security-bulletins/2026-145-aws/](https://aws.amazon.com/security/security-bulletins/2026-145-aws/)
- [https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2](https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2)
- [https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6](https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-115414 · Markdown: https://rewindex.com/cve/CVE-2026-115414.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-115414 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T04:06:17.472Z
