Terraform ignore rules can miss sensitive files after Unicode normalization
HashiCorp's go-slug library handled Unicode normalization incorrectly while matching .terraformignore patterns. CVE-2026-14978 affects versions 0.4.0 through 0.18.2 and is fixed in 0.18.3. On affected macOS filesystems, a local working directory can contain a filename and an ignore pattern that look equivalent to a user but have different byte representations. The matcher may keep the file in the Terraform Cloud or Terraform Enterprise upload when the operator intended to exclude it.
The vulnerability is local and requires interaction, but its consequence can be remote. The uploaded working directory leaves the operator's machine and enters a remote execution environment.…