Back to CVE records
High 7.8Published Oct 22, 2026

CVE-2026-115414OS command injection in the Terraform hook in AWS SAM CLI

Updated under an hour ago ()

Does this affect you?

It affects aws-sam-cli. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.88%, higher than 59% of scored CVEs.

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
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-78
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.88% (percentile 59)
Assigned by
AMZN
NVD analysis
Awaiting Analysis
Record last updated
Oct 23, 2026
First seen by InfoSec Signals
Oct 22, 2026

Affected products

Affected products
AWS aws-sam-cli
aws:sam_cli (from the name)
from 1.63.0 before 1.166.2
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.