top of page

AWS SAM CLI update protects Terraform builds from command injection

Writer: Charles Coles
Charles Coles
Oct 26
1 min read

Does this affect me?


Global software relevance · UK impact not established. Developers using AWS SAM CLI's Terraform hook should check their build tools. The affected range is 1.63.0 through 1.166.1. Merely hosting an application on AWS does not establish that this build path is used or that an attacker reached it.


In plain English


AWS disclosed CVE-2026-115414 on 22 October 2026 at 18:30 UTC. This is an older advisory, not a newly reported attack; no customer incident date is given.


The hook turns infrastructure descriptions into build instructions. Special shell characters in a Terraform resource address were not fully neutralised. Someone able to influence the configuration or plan consumed by the build could execute commands with the build user's privileges. This is command injection: input becomes an instruction.


For your IT team


AWS fixed the issue in SAM CLI 1.166.2. Upgrade the relevant tooling and include equivalent fixes in forks. The vendor also advises using Terraform configurations and plans only from trusted sources and auditing third-party modules and shared repositories that supply build inputs.


For management — ColesCyber takeaway


Interpretation: ask the development owner to identify the affected hook, its input sources and where it runs. Record which workstations or automated build jobs need the update. Evidence of the installed version and the input route is more useful than assuming that every cloud application needs emergency downtime. Agree verification with the people responsible for those builds.


Primary evidence




Publication note


Prepared 26 October 2026. AI-assisted publication and source comparison; independent human review is not claimed.


Comments


bottom of page