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

- Severity: High 8.4 (CVSS:4.0, scored by AMZN) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2026-10-22T18:34:08.488Z
- Modified: 2026-10-23T17:17:17.303Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: AMZN

## 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.

(As written by CVE List.)

## Affected

- AWS aws-sam-cli: from 1.63.0 before 1.166.2

## Every score

- AMZN: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- AMZN: CVSS:4.0 8.4 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2> (patch, release-notes)
- <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)

## Sources

- CVE List: [CVE-2026-115414](https://www.cve.org/CVERecord?id=CVE-2026-115414), CVE Terms of Use, modified 2026-10-23
- NVD: [CVE-2026-115414](https://nvd.nist.gov/vuln/detail/CVE-2026-115414), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-115414 · Whole record: https://cve.day/CVE-2026-115414.json · Rebuilt by cve.day 2026-11-25T22:59:46.819Z
