Skip to content

CVE-2026-45099 Terragrunt: Arbitrary File Deletion via Malicious Module Manifest

MediumCVSS 6.9 EPSS 0.54%
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.

PackageAffectedFixed inStatus
gruntwork-io terragrunt(Go) < 1.0.4 1.0.4 Fixed
gruntwork-io terragrunt = < 1.0.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gruntwork-io terragrunt = < 1.0.4 No fix listed
gruntwork-io terragrunt(Go) < 1.0.4 1.0.4

References