CVE-2026-64672

Terragrunt catalog predictable temp symlink clobber

Published Nov 3, 2026 CVSS 4.0 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu or Terraform to scale. Prior to 1.1.1, the terragrunt catalog command derives a predictable per-repository catalog clone root under the shared system temporary directory and follows a symlink already placed at that path. A local attacker who can write to the temporary directory and predict the cataloged repository can redirect cleanup and cloning outside the intended root, causing an existing repository-named directory to be deleted and replaced in the victim's security context. The attack requires the victim to run terragrunt catalog on a shared host while the symlink is present, and it is not remotely exploitable. This issue is fixed in version 1.1.1.

Analysis

AI-generated

Technical impact

The vulnerability lies in the Terragrunt catalog command which creates a predictable temporary directory root under the system’s shared temporary folder and follows a symlink that can already be present at that location. An attacker who has local write access to the temporary directory can set up a symlink to an arbitrary path for a repository that the attacker can predict or control. When Terragrunt runs catalog, it will then follow that symlink and perform cleanup and cloning outside the intended temporary root, resulting in deletion and replacement of an existing repository‑named directory inside the victim’s security context. The direct effect is local file system manipulation, with the potential to delete or overwrite data critical to the victim.

Affected Systems

This issue affects any installation of the Terragrunt tool from the gruntwork‑io project whose version is older than 1.1.1. Users of the vulnerable tool must check the installed version, and the fix is included in the 1.1.1 release announced in early 2026. No other product variants or components are mentioned, so only the Terragrunt binaries prior to that patch are impacted.

Risk and Exploitability

The vulnerability receives a CVSS score of 4.4, indicating moderate severity, and there is no EPSS data available. The attack is not remotely exploitable; it requires an attacker to have write access to the host’s temporary directory and the victim to run the catalog command while the malicious symlink is in place. Because of the local nature and the fact that the attacker can only affect a repository known to them, the threat is limited to the local environment, yet the potential for data loss or self‑service disruption is significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Terragrunt to version 1.1.1 or later.
  • Remove any symbolic links from the system temporary directory that might point to unintended paths before running terragrunt catalog.
  • Restrict write permissions on the shared temporary directory (/tmp) so that only trusted users can create files or symlinks there.

Generated by OpenCVE AI on November 3, 2026 at 22:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wv6g-x823-wx9m Terragrunt catalog predictable temp symlink clobber
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gruntwork-io
Gruntwork-io terragrunt
Vendors & Products Gruntwork-io
Gruntwork-io terragrunt
Type Values Removed Values Added
Description Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu or Terraform to scale. Prior to 1.1.1, the terragrunt catalog command derives a predictable per-repository catalog clone root under the shared system temporary directory and follows a symlink already placed at that path. A local attacker who can write to the temporary directory and predict the cataloged repository can redirect cleanup and cloning outside the intended root, causing an existing repository-named directory to be deleted and replaced in the victim's security context. The attack requires the victim to run terragrunt catalog on a shared host while the symlink is present, and it is not remotely exploitable. This issue is fixed in version 1.1.1.
Title Terragrunt catalog predictable temp symlink clobber
Weaknesses CWE-377
CWE-59
References
Metrics cvssV4_0

{'score': 4.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-377

    Insecure Temporary File

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 7, 2026, 3:32 AM
Reserved
Jul 20, 2026, 5:12 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 9:17 PM
Modified
Nov 12, 2026, 8:04 PM