CVE-2026-64672
### Summary Terragrunt's `terragrunt catalog` command clones each repository referenced in your catalog configuration into a temporary working directory. In affected versions, the clone path it derived was deterministic and sat under the shared system temporary directory, in the form `<tmp>/catalog-<base64 sha1 of the repo URL>`. Because that path was predictable and Terragrunt followed a symlink already present there instead of rejecting it, a local attacker could plant a symlink at that path and cause Terragrunt to delete a directory and re-clone into it outside the intended temporary root. ### Impact This affected users who ran `terragrunt catalog` on a host they shared with other local users or processes they did not fully trust, such as a multi-user server or a shared CI runner. The attack required a local attacker: a separate local user or process able to write to the shared system temporary directory. It was not remotely exploitable, and the victim had to run `terragrunt catalog` while the attacker's symlink was already in place. Because the predictable path depended only on the repository URL being cataloged and the location of the system temporary directory, the attacker could compute it in advance and plant a symlink there before the victim ran the command. When the victim ran `terragrunt catalog`, Terragrunt followed the symlink out of the intended temporary root, deleted an existing `<repoName>` directory under the attacker-chosen parent, and repopulated that path with the cloned repository contents. All of this happened in the security context of the user running Terragrunt. The attacker controlled the parent directory the symlink pointed to, but not the leaf name: the leaf was fixed to `<repoName>`, derived from the repository URL the victim cataloged. The primitive was deletion of an existing `<repoName>` directory outside the temporary root, followed by a re-clone into that same path. On a single-user machine with no hostile local processes, exp
Properties
- Ghsa id
- GHSA-wv6g-x823-wx9m
- Severity
- medium
- Summary
- Terragrunt catalog predictable temp symlink clobber
- Last source
- GitHub Advisory Database
- Cve id
- CVE-2026-64672
- First seen by Signal
- 2026-10-15T22:56:51+00:00
- Is ghsa only
- false
- Retrieved at
- 2026-10-21T01:23:59+00:00
- Ghsa published
- 2026-10-15T18:21:35Z
- Source url
- https://github.com/advisories/GHSA-wv6g-x823-wx9m
- Ghsa updated
- 2026-10-15T18:21:36Z
Related Entities (4)
HAS_WEAKNESS (2)
AFFECTS (1)
VULNERABLE_TO (1)
Explore deeper with Ninja Signal's threat intelligence graph