Terragrunt catalog predictable temp symlink clobber

State
Published
Severity
4.4 Medium
Published
Nov 3, 2026
Updated
Nov 7, 2026
Reserved
Jul 20, 2026

Read the record on cve.org

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.

ProductVersions
terragrunt gruntwork-io< 1.1.1 Affected

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')
  • CWE-377 Insecure Temporary File

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.