{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.63.0"
                  },
                  {
                    "fixed": "1.166.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "v1.166.2",
                "range": [
                  {
                    "fixed": "aa9da5562ce7ea65b01f7bfe10c53a4c85fa8840"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.166.2"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "bfdfd3a6c64da7f1dd78db5e7e6bebce5feb09ac"
            },
            {
              "fixed": "aa9da5562ce7ea65b01f7bfe10c53a4c85fa8840"
            }
          ],
          "repo": "https://github.com/aws/aws-sam-cli",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-44mq-wjrh-vpj6"
  ],
  "database_specific": {
    "cna_assigner": "AMZN",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115414.json"
  },
  "details": "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.\n\n\n\nTo remediate this issue, users should upgrade to version 1.166.2 or later.",
  "id": "CVE-2026-115414",
  "modified": "2026-10-28T02:30:35.501452819Z",
  "published": "2026-10-22T18:34:08.488Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://aws.amazon.com/security/security-bulletins/2026-145-aws/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115414.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115414"
    },
    {
      "type": "FIX",
      "url": "https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OS command injection in the Terraform hook in AWS SAM CLI"
}