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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-08-17T16:37:34.000Z
- Modified: 2026-10-12T16:10:00.220Z
- Also known as: GHSA-8394-6f8r-whxg, GO-2026-6241
- Weaknesses: CWE-20, CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- gruntwork-io terragrunt: < 1.0.4
- github.com/gruntwork-io/terragrunt (Go): before 1.0.4

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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> (advisory, web)
- <https://github.com/gruntwork-io/terragrunt/pull/6032>
- <https://github.com/gruntwork-io/terragrunt/commit/3d6f10d6bccc851c6506a307a0b8675e0346e65e>
- <https://github.com/gruntwork-io/terragrunt/releases/tag/v1.0.4> (web)
- <https://github.com/gruntwork-io/terragrunt> (package)

## Sources

- CVE List: [CVE-2026-45099](https://www.cve.org/CVERecord?id=CVE-2026-45099), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-8394-6f8r-whxg](https://github.com/advisories/GHSA-8394-6f8r-whxg), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6241](https://pkg.go.dev/vuln/GO-2026-6241), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-45099](https://nvd.nist.gov/vuln/detail/CVE-2026-45099), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-45099 · Whole record: https://cve.day/CVE-2026-45099.json · Rebuilt by cve.day 2026-11-25T22:59:34.823Z
