{"id":"CVE-2026-115414","state":"PUBLISHED","title":"OS command injection in the Terraform hook in AWS SAM CLI","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.\n\n\n\nTo remediate this issue, users should upgrade to version 1.166.2 or later.","publishedAt":"2026-10-22T18:34:08.488Z","updatedAt":"2026-10-23T10:56:19.844Z","severity":{"score":8.4,"label":"High","version":"4.0","vector":"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","source":"AMZN"},"assigner":"AMZN","products":["AWS aws-sam-cli"],"affected":[{"vendor":"AWS","product":"aws-sam-cli","defaultStatus":"unaffected","versions":[{"version":"1.63.0","status":"affected","lessThan":"1.166.2","versionType":"custom"}]}],"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"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/115xxx/CVE-2026-115414.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-115414","state":"PUBLISHED","datePublished":"2026-10-22T18:34:08.488Z","dateUpdated":"2026-10-23T10:56:19.844Z","assignerShortName":"AMZN","assignerOrgId":"ff89ba41-3aa1-4d27-914a-91399e9639e5","dateReserved":"2026-10-22T13:11:04.463Z"},"containers":{"cna":{"title":"OS command injection in the Terraform hook in AWS SAM CLI","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"AWS","product":"aws-sam-cli","defaultStatus":"unaffected","versions":[{"version":"1.63.0","status":"affected","lessThan":"1.166.2","versionType":"custom"}]}],"references":[{"url":"https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2","tags":["release-notes","patch"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-145-aws/","tags":["vendor-advisory"]},{"url":"https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":7.8,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.4,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"AMZN","orgId":"ff89ba41-3aa1-4d27-914a-91399e9639e5","dateUpdated":"2026-10-22T18:54:34.603Z"},"impacts":[{"capecId":"CAPEC-88","descriptions":[{"lang":"en","value":"CAPEC-88 OS Command Injection"}]}],"cpeApplicability":[{"operator":"OR","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:aws:aws-sam-cli:*:*:*:*:*:*:*:*","versionStartIncluding":"1.63.0","versionEndExcluding":"1.166.2"}]}]}],"credits":[{"lang":"en","value":"Cipher by Causal Security","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-23T03:55:38.820759Z","id":"CVE-2026-115414","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-23T10:56:19.844Z"}}]}}}