Menu

Terraform ignore rules can miss sensitive files after Unicode normalization
📰

Terraform ignore rules can miss sensitive files after Unicode normalization

DEV Community: terraform·OnaEiuspkz·9 days ago
#sE78vdvA
#devtoterraform#devto#dev#files#slug
Long article (735 words) — no AI summary yet.
Reading 0:00
15s threshold

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

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.