Skip to content
High 8.4

AWS SAM CLIのTerraformフックでOSコマンドを実行される

CVE-2026-115414 First seen on SecPulse

Summary

AWS SAM CLIのTerraformフックにOSコマンド注入の脆弱性があり、ビルドに使われるTerraform設定やプランファイルを改変できる攻撃者に、ビルドを実行しているホスト上で任意のコマンドを実行される可能性があります。影響を受けるのは1.166.2より前の版で、1.166.2以降へのアップデートで対処できます。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

AWS SAM CLIのTerraformフックにOSコマンド注入の脆弱性があり、ビルドに使われるTerraform設定やプランファイルを改変できる攻撃者に、ビルドを実行しているホスト上で任意のコマンドを実行される可能性があります。影響を受けるのは1.166.2より前の版で、1.166.2以降へのアップデートで対処できます。

Affected packages

PackageAffected → Fixed
AWSaws-sam-cli
≥ 1.63.0, < 1.166.2→ 1.166.2
Original description The description as published by the source.

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.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details