Read the docs
TI-2026-32939 Aliases CVE-2026-45099GHSA-8394-6f8r-whxg

Terragrunt: Arbitrary File Deletion via Malicious Module Manifest

Priority LOW 37CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0054 45th percentileScored 2026-11-07
Fix Fixed terragrunt (gruntwork-io): 1.0.4github.com/gruntwork-io/terragrunt (Go): 1.0.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gruntwork-ioterragruntbefore 1.0.41.0.4Patch availableCNA
—github.com/gruntwork-io/terragrunt (Go)before 1.0.41.0.4Patch availableGHSA-8394-6f8r-whxg
  • terragrunt Vendorgruntwork-io Affected before 1.0.4 Fixed in 1.0.4 Patch available CNA
  • github.com/gruntwork-io/terragrunt (Go) Vendor— Affected before 1.0.4 Fixed in 1.0.4 Patch available GHSA-8394-6f8r-whxg

Remediation

  • Fix · CNA terragrunt (gruntwork-io) Fixed in 1.0.4
  • Fix · GHSA-8394-6f8r-whxg github.com/gruntwork-io/terragrunt (Go) Fixed in 1.0.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45099
  2. 2026-10-03 Alias added: GHSA-8394-6f8r-whxg

References

  • TI-2026-84576 Symlink following in Terragrunt catalog clones temp directory CVSS 4.0MEDIUM 4.4

Sources