{"id":"CVE-2026-45099","title":"Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu or Terraform to scale","summary":"Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu or Terraform to scale. Prior to 1.0.4, Terragrunt trusts paths decoded from a downloaded module's .terragrunt-module-manifest during fileM…","severity":"medium","cwe":["CWE-22","CWE-20"],"vendor":"gruntwork-io","product":"github.com/gruntwork-io/terragrunt","affected":["github.com/gruntwork-io/terragrunt < 1.0.4"],"patched":["github.com/gruntwork-io/terragrunt 1.0.4"],"published":"2026-08-21","updated":"2026-10-12","sourceUpdated":"2026-10-12T16:10:00.220","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45099","references":[{"url":"https://github.com/gruntwork-io/terragrunt/commit/3d6f10d6bccc851c6506a307a0b8675e0346e65e","label":"security-advisories@github.com"},{"url":"https://github.com/gruntwork-io/terragrunt/pull/6032","label":"security-advisories@github.com"},{"url":"https://github.com/gruntwork-io/terragrunt/releases/tag/v1.0.4","label":"security-advisories@github.com"},{"url":"https://github.com/gruntwork-io/terragrunt/security/advisories/GHSA-8394-6f8r-whxg","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-8394-6f8r-whxg"}],"tags":["nvd","ghsa","go"],"epss":0.0054,"epssPercentile":0.45242,"aliases":["GHSA-8394-6f8r-whxg"],"ecosystem":"go","ingestedAt":"2026-08-17T16:57:25.230Z","slug":"CVE-2026-45099","body":"## Overview\n\nTerragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu or Terraform to scale. Prior to 1.0.4, Terragrunt trusts paths decoded from a downloaded module's .terragrunt-module-manifest during fileManifest.Clean() in internal/util/file.go. A malicious or compromised external module can place absolute or traversal paths in the manifest, causing cleanup to delete files outside the module cache that are accessible to the Terragrunt process before OpenTofu or Terraform executes. This deletion-only primitive can remove local source code or configuration and disrupt CI/CD pipelines. This issue is fixed in version 1.0.4.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-45099)\n\nAffected packages:\n\n- `github.com/gruntwork-io/terragrunt < 1.0.4`\n\nPatched in:\n\n- `github.com/gruntwork-io/terragrunt 1.0.4`\n\nSource: https://github.com/advisories/GHSA-8394-6f8r-whxg","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}