Description
Snowflake Terraform Provider versions prior to 2.18.0 contain several security vulnerabilities, including SQL injection via an unsanitized data source input could result in arbitrary SQL execution under the provider's privileged Snowflake session, potentially enabling sensitive data exfiltration and minting of long-lived access credentials. Exploitation requires the ability for an attacker to influence a workspace variable in a pipeline where this data source was enabled. Improper neutralization of identifier content in user resource inputs could allow DDL injection into user management statements, potentially causing accounts to be created with attacker-controlled credentials and without the security controls configured by the operator. The fix is available in Snowflake Terraform Provider version 2.18.0. Users must manually upgrade.
Published: 2026-07-08
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Snowflake Terraform Provider versions earlier than 2.18.0 expose unsanitized data source inputs that allow SQL injection, giving an attacker the ability to execute arbitrary SQL statements through the provider’s privileged Snowflake session. This flaw can be exploited to exfiltrate sensitive data and generate long‑lived credentials. In addition, the provider fails to neutralize the identifier contents of user resource inputs, enabling DDL injection in user‑management statements; attackers can therefore create or modify Snowflake accounts with attacker‑controlled credentials and bypass operator‑configured security controls. These vulnerabilities collectively enable privilege escalation and potential full account takeover.

Affected Systems

All versions of the Snowflake Terraform Provider released before 2.18.0 are affected. Users who employ the provider in data source, are at risk. Any environment that uses a vulnerable provider within Terraform configurations for Snowflake should consider this a high‑flake’s Terraform Provider before version 2.18.0 contains a SQL injection flaw through unsanitized data source inputs, allowing an attacker who can influence a workspace variable to execute arbitrary SQL commands under the provider’s privileged Snowflake session This can lead to exfiltration of sensitive data and the creation of long‑lived access credentials. In addition, the provider fails to neutralize identifier content in user resource inputs, enabling DDL injection that can add or modify Snow credentials, bypassing operator‑configured security controls. The combined effect is the ability to elevate privileges and potentially take full control of a Snowflake account.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, while the EPSS score of < 1% suggests a very low probability of exploitation at present. The vulnerability is not Based on the description, the attack vector is inferred to be a vulnerability in the CI/CD pipeline configuration, where an attacker who can manipulate a workspace variable injected into the Terraform provision will be provider’s privileged session.

Generated by OpenCVE AI on July 29, 2026 at 14:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Snowflake Terraform Provider to version 2.18.0 or later to remove the injection‑vulnerable code.
  • Update all Terraform module references and state files to pin fixed version, ensuring no older releases are used.
  • Review and harden CI/CD pipeline variables to disallow unescaped SQL characters, and enforce strict input validation or encoding before they are used in Terraform configurations.

Generated by OpenCVE AI on July 29, 2026 at 14:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Snowflake
Snowflake terraform Provider For Snowflake
Vendors & Products Snowflake
Snowflake terraform Provider For Snowflake

Wed, 08 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
Description Snowflake Terraform Provider versions prior to 2.18.0 contain several security vulnerabilities, including SQL injection via an unsanitized data source input could result in arbitrary SQL execution under the provider's privileged Snowflake session, potentially enabling sensitive data exfiltration and minting of long-lived access credentials. Exploitation requires the ability for an attacker to influence a workspace variable in a pipeline where this data source was enabled. Improper neutralization of identifier content in user resource inputs could allow DDL injection into user management statements, potentially causing accounts to be created with attacker-controlled credentials and without the security controls configured by the operator. The fix is available in Snowflake Terraform Provider version 2.18.0. Users must manually upgrade.
Title Multiple Security Vulnerabilities in Terraform Provider for Snowflake Could Allow Privilege Escalation and Unauthorized Snowflake Account Takeover
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Snowflake Terraform Provider For Snowflake
cve-icon MITRE

Status: PUBLISHED

Assigner: SNOWFLAKE

Published:

Updated: 2026-07-08T15:19:35.970Z

Reserved: 2026-07-08T14:39:47.802Z

Link: CVE-2026-15067

cve-icon Vulnrichment

Updated: 2026-07-08T15:19:23.201Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T14:15:03Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')