{
  "id": "CVE-2026-115414",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-115414",
  "published_at": "2026-10-22T18:34:08.488Z",
  "title": "OS command injection in the Terraform hook in AWS SAM CLI",
  "vendor": "AWS",
  "product": "aws-sam-cli",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.\n\n\n\nTo remediate this issue, users should upgrade to version 1.166.2 or later.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "AWS",
        "product": "aws-sam-cli",
        "ranges": [
          "\u003e= 1.63.0, \u003c 1.166.2"
        ],
        "fixed_in": [
          "1.166.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade aws-sam-cli to 1.166.2 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://aws.amazon.com/security/security-bulletins/2026-145-aws/"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
