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.
Published: 2026-10-22
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
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.
Title OS command injection in the Terraform hook in AWS SAM CLI
First Time appeared Aws
Aws aws-sam-cli
Weaknesses CWE-78
CPEs cpe:2.3:a:aws:aws-sam-cli:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws-sam-cli
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.4, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-10-23T10:56:19.844Z

Reserved: 2026-10-22T13:11:04.463Z

Link: CVE-2026-115414

cve-icon Vulnrichment

Updated: 2026-10-23T10:56:01.307Z

cve-icon NVD

Status : Received

Published: 2026-10-22T19:17:47.843

Modified: 2026-10-23T12:18:12.150

Link: CVE-2026-115414

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T03:45:16Z

Weaknesses