{"id":"CVE-2026-115414","summary":"OS command injection in the Terraform hook in AWS SAM CLI","details":"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.\n\n\n\nTo remediate this issue, users should upgrade to version 1.166.2 or later.","aliases":["GHSA-44mq-wjrh-vpj6"],"modified":"2026-10-28T02:30:35.501452819Z","published":"2026-10-22T18:34:08.488Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115414.json","cna_assigner":"AMZN","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://aws.amazon.com/security/security-bulletins/2026-145-aws/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115414.json"},{"type":"ADVISORY","url":"https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115414"},{"type":"FIX","url":"https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aws/aws-sam-cli","events":[{"introduced":"bfdfd3a6c64da7f1dd78db5e7e6bebce5feb09ac"},{"fixed":"aa9da5562ce7ea65b01f7bfe10c53a4c85fa8840"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.63.0"},{"fixed":"1.166.2"}]},{"original_tag":"v1.166.2","range":[{"fixed":"aa9da5562ce7ea65b01f7bfe10c53a4c85fa8840"}],"source":"REFERENCES_TAG"},{"range":[{"introduced":"0"},{"fixed":"1.166.2"}],"source":"DESCRIPTION"}]}}],"versions":["v1.166.1","v1.166.0","v1.165.0","v1.164.0","v1.163.0","v1.162.1","v1.162.0","v1.161.1","v1.161.0","v1.160.1","v1.160.0","v1.159.1","v1.158.0","v1.157.1","v1.157.0","v1.156.0","v1.155.2","v1.155.1","v1.155.0","v1.154.0","v1.153.1","v1.152.0","v1.151.0","v1.150.1","v1.150.0","v1.149.0","v1.148.0","v1.147.1","v1.146.0","v1.145.2","v1.145.1","v1.145.0","v1.144.0","v1.143.0","v1.142.1","v1.142.0","v1.141.0","v1.140.0","v1.139.0","v1.138.0","v1.137.1","v1.137.0","v1.136.0","v1.135.0","v1.134.0","v1.133.0","v1.132.0","v1.131.0","v1.130.0","v1.129.0","v1.128.0","v1.127.0","v1.126.0","v1.125.0","v1.124.0","v1.123.0","v1.122.0","v1.121.0","v1.120.0","v1.119.0","v1.118.0","v1.117.0","v1.116.0","v1.115.0","v1.114.0","v1.113.0","v1.112.0","v1.111.0","v1.110.0","v1.109.0","v1.108.0","v1.107.0","v1.106.0","v1.105.0","v1.104.0","v1.103.0","v1.102.0","v1.101.0","v1.100.0","v1.99.0","v1.98.0","v1.97.0","v1.96.0","v1.95.0","v1.94.0","v1.93.0","v1.92.0","v1.91.0","v1.90.0","v1.89.0","v1.88.0","v1.87.0","v1.86.1","v1.86.0","v1.85.0","v1.84.0","v1.83.0","v1.82.0","v1.81.0","v1.80.0","v1.79.0","v1.78.0","v1.77.0","v1.76.0","v1.75.0","v1.74.0","v1.73.0","v1.72.0","v1.71.0","v1.70.1","v1.70.0","v1.69.0","v1.68.0","v1.67.0","v1.66.0","v1.65.0","v1.64.0","v1.63.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115414.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}