Vulnerabilities

Vulnerability · CVE-2026-115414

CVE-2026-115414 - OS Command Injection Issue in SAM CLI Terraform Hook

Published Oct 22, 2026 · catalog updated Oct 23, 2026 · Amazon Web Services

Last checked Nov 8, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2026-115414. EPSS is 0.96%. Act only if a listed version of Amazon Web Services is installed.

Gaps on this record

  • No version range is stored. A customer cannot check an installed version against this record.
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High8.4
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.96%
Remediation
Advisory link
Affected products
package pip · vendor AWS aws-sam-cli

Bulletin ID: 2026-145-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/22/2026 11:30 AM PDT Description: AWS SAM CLI is an open-source framework for building serverless applications. We identified CVE-2026-115414, an OS command injection issue in the Terraform hook (sam build --hook-name terraform) in AWS SAM CLI. The Terraform hook generates a Makefile recipe that interpolates a Terraform resource address without fully neutralizing shell metacharacters, which could allow an actor who can influence

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • package pipversion unspecified
  • vendor AWS aws-sam-cliversion unspecified

How to fix CVE-2026-115414

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-115414. EPSS is 0.96%. Act only if a listed version of Amazon Web Services is installed.

Which versions are affected?

Affected version ranges are not on this record. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-78: OS Command Injection. EPSS 0.96%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 22, 2026 · AWS Security Bulletins

    Detected

    Bulletin ID: 2026-145-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/22/2026 11:30 AM PDT Description: AWS SAM CLI is an open-source framework for building serverless applications. We identified CVE-2026-115414, an OS command injection issue in the Terraform hook (sam build --hook-name terraform) in AWS SAM CLI. The Terraform hook generates a Makefile recipe that

  2. Oct 23, 2026 · CVE.org

    Updated

    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.

  3. Oct 23, 2026 · NIST NVD

    Updated

    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.

Sources

  • AWS Security BulletinsVendor advisoryCVE-2026-115414

    Read this article

    aws.amazon.com
  • CVE.orgVulnerability recordCVE-2026-115414

    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 resou

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-115414

    30-day exploitation probability 0.96%

    first.org
  • NIST NVDVulnerability recordCVE-2026-115414

    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 resou

    nvd.nist.gov
  • Snyk Vulnerability DatabasePackage advisorySNYK-PYTHON-AWSSAMCLI-21460721

    Command Injection

    security.snyk.io

References

Freshness

Last verified in this catalog Nov 8, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSNov 8, 2026
  • AWS Security BulletinsNov 8, 2026
  • Snyk Vulnerability DatabaseOct 26, 2026
  • NIST NVDOct 23, 2026
  • CVE.orgOct 23, 2026