CVE-2026-115414

OS command injection in the Terraform hook in AWS SAM CLI

Published Oct 22, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Oct 23, 2026, 10:56 AM
Reserved
Oct 22, 2026, 1:11 PM
Status
Awaiting Analysis
Published
Oct 22, 2026, 7:17 PM
Modified
Oct 23, 2026, 5:17 PM