Vulnerability · Published Aug 21, 2026 · Assigned by GitHub_M

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

Medium 6.9

In plain English

A medium-severity path traversal in terragrunt from gruntwork-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.5%top 54.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/gruntwork-io/terragrunt1.0.4GHSA-8394-6f8r-whxg
Gogithub.com/gruntwork-io/terragrunt1.0.4GO-2026-6241

Affected products (as reported)

VendorProductVersions
gruntwork-io terragrunt < 1.0.4

Weakness: CWE-22 · 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

References