Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
AWS aws-sam-cli
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 AWS SAM CLI 1.166.2 之前的版本中,Terraform 钩子存在操作系统命令注入漏洞。如果攻击者能够影响构建过程中所使用的 Terraform 配置文件或计划文件,则可通过精心构造的 Terraform 资源地址,在运行构建的主机上以构建用户身份执行任意命令。 为修复此问题,用户应升级至 1.166.2 或更高版本。

CVSS 7.8 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
AWS aws-sam-cli 1.63.0< 1.166.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-115414

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OS command injection in the Terraform hook in AWS SAM CLI
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
AWS aws-sam-cli 1.63.0 ~ 1.166.2 -

II. Public POCs for CVE-2026-115414

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-115414

请登录查看更多情报信息。

Other References for CVE-2026-115414 (3)

Same Patch Batch · AWS · 2026-10-22 · 4 CVEs total

CVE-2026-115419 8.1 HIGH Unintended disclosure of data element to wrong session in Strands Agents SDK A2A Server
CVE-2026-115416 7.7 HIGH Incorrect authorization checks in Amazon Athena engine version 3 query processing
CVE-2026-115417 7.5 HIGH Memory allocation with excessive size value in the MQTT 3.1.1 compatibility adapter in aws

IV. Related Vulnerabilities

V. Comments for CVE-2026-115414

No comments yet


Leave a comment