Skip to main content

HashiCorp go-slug CVE-2026-14978

| EUVDEUVD-2026-63099 MEDIUM
Improper Handling of Unicode Encoding (CWE-176)
2026-08-19 psirt@us.ibm.com GHSA-92x3-5h48-mfhx
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain write access to shared Terraform workspace directory
  2. Delivery
    Place file with Unicode-normalized path matching an ignored pattern
  3. Exploit
    Legitimate operator triggers remote Terraform plan or apply
  4. Install
    go-slug performs flawed Unicode path matching against .terraformignore
  5. C2
    Sensitive or attacker-planted file bypasses exclusion and enters slug archive
  6. Execute
    Slug uploaded to remote Terraform backend
  7. Impact
    Attacker reads exposed file contents from backend run artifacts

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Unicode normalization
Exploitation Conditions

Three concurrent conditions are required for exploitation: (1) the attacker must have local write access to the Terraform working directory, enabling placement of files with Unicode-normalized path components that bypass ignore rules - single-user workstations with exclusive directory ownership are not realistically exploitable; (2) the working directory must have a .terraformignore file with active exclusion rules, as the vulnerability only manifests when path-matching logic is invoked against defined exclusions; (3) a legitimate Terraform operator or automated CI/CD process must trigger a remote slug upload (terraform plan/apply against a remote backend, or equivalent API call) while attacker-influenced files are present in the workspace. The local attack vector (AV:L) limits exposure to shared developer machines, multi-tenant CI/CD build agents, or compromised endpoints. The required user interaction (UI:R) means a passive attacker cannot trigger the upload themselves. Non-default Terraform configurations using local-only execution without remote backends are not exposed to the upstream disclosure risk even if the slug packaging flaw is triggered.

Impact

The CVSS 3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:N/UI:R is broadly consistent with the described attack scenario, though the PR:N rating warrants scrutiny: placing Unicode-bypass files in a Terraform working directory realistically requires at least minimal write access to that directory, suggesting the actual privilege bar may be slightly higher than the vector implies - this is an explicit conflict between the vector and the description that defenders should verify with the vendor. No EPSS data was provided in the source intelligence, preventing probabilistic exploitation probability assessment. The vulnerability is not listed in CISA KEV, and no public proof-of-concept exploit code was identified in source data, both of which reduce near-term operational urgency. The C:H (high confidentiality) metric is the most operationally significant signal: Terraform workflows routinely process files containing cloud provider credentials, database passwords, and API keys, and any bypass of .terraformignore exclusions could silently expose those assets to remote backend operators or anyone with workspace run read access. Integrity and availability are unaffected (I:N/A:N), narrowing the blast radius strictly to information disclosure. The combination of local-only vector, required user interaction, and absence of public exploits positions this as a meaningful but non-emergency remediation priority for teams running shared or CI/CD Terraform environments.

Exploit ScenarioDerived

An attacker with write access to a shared CI/CD Terraform workspace places a file whose path contains a Unicode character sequence that, in raw bytes, does not match the .terraformignore exclusion rule for that path despite being semantically equivalent after normalization. When a legitimate pipeline job triggers a remote Terraform plan or apply, go-slug packages the workspace into a slug archive and uploads it to Terraform Cloud or an enterprise backend, bundling the attacker's planted file or previously-excluded sensitive files alongside. The attacker then reads the exposed content from the remote backend run artifacts, potentially harvesting cloud credentials or other secrets.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Unicode normalization mishandling in HashiCorp go-slug versions 0.4.0 through 0.18.2 enables a local attacker to circumvent .terraformignore exclusion rules, causing sensitive files to be silently bundled into Terraform slug uploads destined for remote backends. Exploitation requires local filesystem write access to the Terraform working directory and a legitimate operator triggering a slug upload operation - the CVSS vector confirms AV:L/UI:R, narrowing the realistic attack surface to shared workstations, multi-tenant CI/CD environments, or compromised developer machines. Confidentiality impact is rated high (C:H) because excluded files such as credentials, API keys, or Terraform variable files containing secrets may be exposed to remote Terraform Cloud or Enterprise backends; no public exploit has been identified and the vulnerability is absent from the CISA Known Exploited Vulnerabilities catalog.

RemediationAI

The primary remediation is to upgrade the go-slug Go module to a version beyond 0.18.2 that incorporates the Unicode normalization fix; teams consuming this library should update their go.mod and go.sum files and rebuild any binaries that embed go-slug, including custom Terraform tooling or automation that invokes slug operations directly. Monitor the HashiCorp go-slug GitHub repository release page and HashiCorp security advisories for the official patched release designation, as no specific fix version was confirmed in the available reference data. Consult the IBM advisory at https://www.ibm.com/support/pages/node/7284170 for guidance on IBM products affected by this dependency. As a compensating control where immediate upgrade is not feasible, restrict write access to Terraform working directories to a single trusted process or user account, eliminating the attacker's ability to place Unicode-bypass files - note that this may require adjustments to CI/CD pipeline service account permissions and should be validated before deployment. Auditing .terraformignore patterns for paths containing non-ASCII characters may also identify exposure points.

Affected VersionsENISA

go-slug 0.4.0 ≤0.18.2

Affected Packages

euvd go_slug no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

go-slug is HashiCorp's Go library responsible for creating and extracting Terraform-compatible slug archives used during remote plan and apply operations in Terraform Cloud, Terraform Enterprise, and compatible tooling. The root cause is CWE-176 (Improper Handling of Unicode Encoding): when matching filesystem paths against .terraformignore exclusion patterns, the library fails to apply Unicode normalization before comparison. An attacker who places files whose path byte representations differ from their Unicode-normalized equivalents - for example, using precomposed vs. decomposed Unicode forms for the same logical character - can cause the path-matching logic to treat an ignored path as non-matching, silently bypassing the exclusion rule. The affected range spans go-slug 0.4.0 through 0.18.2. The advisory is attributed to IBM PSIRT (reference: IBM support page 7284170), suggesting IBM products that embed go-slug as a dependency are also within scope.

Know when Go Slug gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.0 MEDIUM

Placing Unicode-bypass files in a workspace requires at least local write access, warranting PR:L over PR:N; C:H retained as secrets exposure is realistic; no integrity or availability impact applies.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
widely used across Terraform Cloud and Enterprise deployments globally
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP5 Affected
SUSE Linux Enterprise Module for Public Cloud 15 SP4 Affected
SUSE Linux Enterprise Module for Public Cloud 15 SP5 Affected
SUSE Linux Enterprise Server 15 SP4 Affected
SUSE Linux Enterprise Server 15 SP5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy