Improper Handling of Unicode Encoding in go-slug - CVE-2026-14978

 

Improper Handling of Unicode Encoding in go-slug - CVE-2026-14978

Published: November 25, 2026


Vulnerability identifier: #VU170469
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-14978
CWE-ID: CWE-176
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause potentially sensitive files intended for exclusion to be uploaded to Terraform Cloud or Terraform Enterprise.

The vulnerability exists due to inconsistent Unicode normalization in go-slug's .terraformignore matching when comparing non-ASCII filenames with canonically equivalent exclusion patterns on affected macOS filesystems. A remote attacker can control the contents of a local working directory that an operator packages for a remote run to cause files covered by exclusion rules to be included in the upload.


Affected software

go-slug

How to mitigate CVE-2026-14978

Install security update from vendor's website.

go-slug - update to 0.18.3

External References

Related Security Bulletins