{"id":"CVE-2026-45099","published":"2026-08-21T20:07:33Z","modified":"2026-08-25T14:23:16Z","title":"Terragrunt: Arbitrary File Deletion via Malicious Module Manifest","vendor":"gruntwork-io","product":"terragrunt","tier":"tail","description":{"text":"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 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0054,"percentile":0.46351,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/gruntwork-io/terragrunt/security/advisories/GHSA-8394-6f8r-whxg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gruntwork-io/terragrunt/pull/6032","tags":["x_refsource_MISC"]},{"url":"https://github.com/gruntwork-io/terragrunt/commit/3d6f10d6bccc851c6506a307a0b8675e0346e65e","tags":["x_refsource_MISC"]},{"url":"https://github.com/gruntwork-io/terragrunt/releases/tag/v1.0.4","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":9.27},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"gruntwork-io","affectedVersions":[{"vendor":"gruntwork-io","product":"terragrunt","versions":["< 1.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-25T14:23:03.914445Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gruntwork-io/terragrunt","vulnerableRanges":["<1.0.4"],"patched":["1.0.4"],"from":["GHSA-8394-6f8r-whxg","GO-2026-6241"],"provenance":"source"}],"summary":{"text":"Terragrunt, the orchestration tool for OpenTofu and Terraform configurations, contains a path traversal flaw in its module handling: before version 1.0.4, it trusts file paths read from a downloaded module's .terragrunt-module-manifest during cleanup in internal/util/file.go. An attacker who can supply a malicious or compromised external module can exploit this without authentication or user interaction over the network, causing Terragrunt to delete files outside the module cache that the Terragrunt process can access, such as local source code or configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:29Z"},"euvd":{"id":"EUVD-2026-64128","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-45099","published":"2026-08-21","fixed":"1.0.4","kev":false},{"cve":"CVE-2026-64672","published":"2026-11-03","fixed":"1.1.1","kev":false,"link":{"from":"CVE-2026-45099","to":"CVE-2026-64672","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gruntwork-io/terragrunt","fromFixed":"1.0.4","toFixed":"1.1.1","daysApart":74}]}}],"package":"Go:github.com/gruntwork-io/terragrunt"}}