Skip to main content
← All vulnerabilities
CVE-2026-45099GHSA-8394-6F8R-WHXGGO-2026-6241

Terragrunt: Arbitrary File Deletion via Malicious Module Manifest

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • gruntwork-io terragrunt

    fixed in 1.0.4

  • github.com/gruntwork-io/terragruntGo

    fixed in 1.0.4

References 4

GitHub · gruntwork-io/terragrunt