CVE-2026-45099
MEDIUM 6.9CVSS 4.0Terragrunt: Arbitrary File Deletion via Malicious Module Manifest
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.
- Published
- 21 Aug 2026
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-20CWE-22
- Also known as
- GHSA-8394-6f8r-whxgGO-2026-6241
- Sources
- NVDJSONOSV GHSA-8394-6f8r-whxgJSONOSV GO-2026-6241JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/gruntwork-io/terragrunt | < 1.0.4 | 1.0.4 |
References
- https://github.com/gruntwork-io/terragrunt/commit/3d6f10d6bccc851c6506a307a0b8675e0346e65e
- https://github.com/gruntwork-io/terragrunt/pull/6032
- https://github.com/gruntwork-io/terragrunt/releases/tag/v1.0.4 · WEB
- https://github.com/gruntwork-io/terragrunt/security/advisories/GHSA-8394-6f8r-whxg · WEB, ADVISORY
- https://github.com/gruntwork-io/terragrunt · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 21 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Aug 2026)