CVE-2026-45099 Terragrunt: Arbitrary File Deletion via Malicious Module Manifest
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gruntwork-io terragrunt(Go) | < 1.0.4 | 1.0.4 | Fixed |
| gruntwork-io terragrunt | = < 1.0.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gruntwork-io terragrunt | = < 1.0.4 | No fix listed |
| gruntwork-io terragrunt(Go) | < 1.0.4 | 1.0.4 |
References
- https://github.com/gruntwork-io/terragrunt/security/advisories/GHSA-8394-6f8r-whxg vendor-advisory
- https://github.com/gruntwork-io/terragrunt/pull/6032
- https://github.com/gruntwork-io/terragrunt/commit/3d6f10d6bccc851c6506a307a0b8675e0346e65e
- https://github.com/gruntwork-io/terragrunt/releases/tag/v1.0.4
- github.com product
- github.com
- ENISA EUVD EUVD-2026-64128 third-party-advisory