Skip to main content
← All vulnerabilities
CVE-2026-115414EUVD-2026-108281GHSA-44MQ-WJRH-VPJ6

OS command injection in the Terraform hook in AWS SAM CLI

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.166.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

The AWS SAM CLI tool's Terraform hook is affected, which is used when building serverless applications. An attacker who can influence the Terraform configuration or plan file used in a build could run arbitrary commands as the build user on the host running the build.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • AWS aws-sam-cli

    From 1.63.0 · fixed in 1.166.2

References 3

GitHub · aws/aws-sam-cli

aws.amazon.com