cve.bz

CVE-2026-14978 hashicorp go-slug: Improper Handling of Unicode Encoding

5.5 mediumEPSS 0.1%

Medium (5.5) in hashicorp go-slug. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
HashiCorp go-slug 0.4.0 through 0.18.2 could allow a local attacker to bypass .terraformignore exclusions and cause sensitive files to be included in Terraform slug uploads due to improper handling of Unicode normalization during path matching.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-176 Improper Handling of Unicode Encoding
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-14978 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-14978?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-14978?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-14978 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
HashiCorp go-slugfrom 0.4.0 through 0.18.2

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in go-slug versions 0.4.0 through 0.18.2. When Terraform Cloud or Terraform Enterprise configuration uploads are created from a filesystem presenting affected Unicode normalization behavior, a local attacker who can control non-ASCII filenames in the working directory may bypass `.terraformignore` rules and cause excluded sensitive files to be uploaded. Red Hat products that do not exercise this upload path or ship go-slug 0.18.3 or later are not affected.

Red Hat's mitigation

Upgrade to go-slug 0.18.3 or later. Where an immediate upgrade is not possible, do not rely on `.terraformignore` as a security boundary: keep sensitive files outside the uploaded working directory and avoid canonically equivalent non-ASCII filenames and ignore patterns on filesystems that normalize filenames.

ProductPackageStateAdvisory
Red Hat Hardened Imagesopentofu1.10Not affected
Red Hat Hardened Imagesopentofu1.11Not affected
Red Hat Hardened Imagesopentofu1.12Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-14978.

Attack patterns (CAPEC)

  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON