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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gruntwork-io/terragrunt | 1.0.4 | GHSA-8394-6f8r-whxg |
| Go | github.com/gruntwork-io/terragrunt | 1.0.4 | GO-2026-6241 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/gruntwork-io/terragrunt/security/advisories/GHSA-8394-6f8r-whxg x_refsource_CONFIRM
- https://github.com/gruntwork-io/terragrunt/pull/6032 x_refsource_MISC
- https://github.com/gruntwork-io/terragrunt/commit/3d6f10d6bccc851c6506a307a0b8675e0346e65e x_refsource_MISC
- https://github.com/gruntwork-io/terragrunt/releases/tag/v1.0.4 x_refsource_MISC