PatchSiren cyber security CVE debrief
CVE-2026-115414 AWS CVE debrief
AWS SAM CLI users should assess exposure and prioritize upgrading to version 1.166.2 or later due to an OS command injection vulnerability in the Terraform hook. The vulnerability allows an actor to execute arbitrary commands as the build user, potentially compromising build hosts. Build and deployment teams should review Terraform configuration and plan files, verify build logs for suspicious activity, and upgrade to the fixed version. The CVE record and source item provide details on the vulnerability.
- Vendor
- AWS
- Product
- aws-sam-cli
- CVSS
- HIGH 7.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-22
- Original CVE updated
- 2026-10-23
- Advisory published
- 2026-10-22
- Advisory updated
- 2026-10-23
Who should care
Build and deployment teams using AWS SAM CLI versions before 1.166.2 should assess exposure and prioritize upgrading to version 1.166.2 or later. The vulnerability allows an actor to execute arbitrary commands as the build user, potentially compromising build hosts. Teams should review Terraform configuration and plan files, verify build logs for suspicious activity, and upgrade to the fixed version.
Why it matters
The OS command injection vulnerability in the Terraform hook of AWS SAM CLI versions before 1.166.2 allows an actor to execute arbitrary commands as the build user, potentially compromising build hosts. Build and deployment teams should assess exposure and prioritize upgrading to version 1.166.2 or later. Verification of Terraform configuration and plan files is necessary, and remediation requires upgrading to the fixed version.
- Potential execution of arbitrary commands as the build user.
- Possible compromise of build hosts.
- Verification of Terraform configuration and plan files is necessary.
- Upgrade to version 1.166.2 or later is required for remediation.
Technical summary
The AWS SAM CLI before version 1.166.2 contains an OS command injection vulnerability in the Terraform hook. An actor who can influence the Terraform configuration or plan file can execute arbitrary commands as the build user on the host running the build via a crafted Terraform resource address. The vulnerability is due to insufficient validation of user input in the Terraform hook. The CVE record and source item provide details on the vulnerability. Verification of Terraform configuration and plan files is necessary, and remediation requires upgrading to the fixed version.
Defensive priority
High priority for build and deployment teams using AWS SAM CLI versions before 1.166.2.
Recommended defensive actions
- Upgrade to AWS SAM CLI version 1.166.2 or later.
- Review and update build configurations to ensure Terraform configuration and plan files are validated.
- Monitor build logs for suspicious activity.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE record and source item provide details on the OS command injection vulnerability in the Terraform hook of AWS SAM CLI versions before 1.166.2. The vulnerability allows an actor to execute arbitrary commands as the build user on the host running the build via a crafted Terraform resource address. Verification of Terraform configuration and plan files is necessary, and remediation requires upgrading to the fixed version. The source detail is limited, so explicit evidence-limit language and defensive verification tasks are needed
Sources and references
Verified primary and authoritative sources
-
CVE-2026-115414 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-115414
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-115414 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-115414
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
OS command injection in the Terraform hook in AWS SAM CLI
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/115xxx/CVE-2026-115414.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2
Supplemental source - release-notes, patch
-
Source reference
Unverified legacy reference
URL: https://aws.amazon.com/security/security-bulletins/2026-145-aws/
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.