← Back to search

CVE-2026-115414

7.8 HIGHpublic exploit available

Published 2026-10-22 · Updated 2026-10-23

AI risk analysis

Summary
The Terraform hook in AWS SAM CLI before 1.166.2 contains an OS command injection vulnerability (CWE-78) that allows an attacker who can influence the Terraform configuration or plan file to execute arbitrary commands as the build user during a build process.
Exploitability
Exploitation requires the attacker to control or tamper with the Terraform configuration or plan file used in the build, and the victim must run a vulnerable SAM CLI version with UI interaction enabled (PR:N/PI:R).
Blast radius
Successful exploitation grants full compromise of the build host—including access to source code, credentials, and artifacts—potentially enabling supply chain poisoning, lateral movement, or exfiltration.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade AWS SAM CLI to version 1.166.2 or later.
command-injectionterraformsam-clisupply-chainbuild-system

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-78

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.