Skip to main content

Snowflake Terraform Provider CVE-2026-15067

| EUVDEUVD-2026-42284 HIGH
SQL Injection (CWE-89)
2026-07-08 412d305a-227d-44f9-a262-a31ba44f2aea GHSA-gg43-cq29-hhv2
8.8
CVSS 3.1 · Vendor: 412d305a-227d-44f9-a262-a31ba44f2aea
View

Attack ChainAIDerived

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

  1. Access
    Gain influence over pipeline workspace variable
  2. Exploit
    Inject SQL/DDL into data source or user input
  3. Execution
    Provider executes under privileged Snowflake session
  4. Impact
    Exfiltrate sensitive data and mint long-lived credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

For the SQL injection path the attacker must be able to influence a workspace/pipeline variable in a Terraform pipeline where the vulnerable data source is explicitly enabled - this specific data source being configured and the attacker having write influence over its variable input is the required, non-default precondition. For the DDL-injection path the attacker must be able to control identifier content passed into user-resource inputs that the provider compiles into user-management statements. Limiting factors: exploitation is authenticated (CVSS PR:L) and requires access to the IaC pipeline/variable layer rather than an anonymous internet request, no user interaction is needed (UI:N), and the impact executes with whatever privilege the operator granted the provider's Snowflake session - so a least-privilege provider role materially reduces blast radius.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) marks this network-reachable, low-complexity, low-privilege with high confidentiality/integrity/availability impact. However, the description adds material constraints the raw vector understates: the SQLi path requires an attacker to influence a workspace variable in a pipeline where the vulnerable data source is enabled - a non-default, insider- or supply-chain-adjacent precondition that pushes real-world complexity higher than AC:L implies. There is no EPSS score, no KEV listing, and no POC in the provided data, so this is a high-CVSS finding whose practical exploitation depends on privileged CI/CD access rather than opportunistic internet-wide attack. The tags (SQLi, Information Disclosure, Hashicorp) corroborate the injection/data-exposure characterization. Net: a genuine priority for organizations running Snowflake IaC pipelines with untrusted contributors, but not a mass-exploitation, drop-everything issue absent evidence of active exploitation.

Exploit ScenarioDerived

An attacker with the ability to contribute to or influence a Terraform CI/CD pipeline sets a malicious value in a workspace variable that feeds the vulnerable data source; on the next plan/apply the provider concatenates that value into SQL and executes it under the privileged Snowflake session, letting the attacker read sensitive tables and create a long-lived personal access token or user. No public exploit code was identified, and the network attack vector is gated by needing write influence over pipeline variables (PR:L, authenticated).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 08, 2026

SQL and DDL injection in the Snowflake Terraform Provider before 2.18.0 lets an attacker who can influence pipeline workspace variables execute arbitrary SQL inside the provider's privileged Snowflake session (CWE-89), enabling data exfiltration and creation of long-lived credentials. A second flaw allows identifier-injection into user-management DDL, so accounts can be minted with attacker-controlled credentials that bypass operator-configured security controls. No public exploit identified at time of analysis; risk is authenticated/insider-driven rather than remote-unauthenticated.

RemediationAI

Vendor-released patch: 2.18.0 - upgrade the Snowflake Terraform Provider to 2.18.0 or later by updating the version constraint in your Terraform configuration and running an init/upgrade; the vendor notes the upgrade is manual and not automatic. Release details are at https://github.com/snowflakedb/terraform-provider-snowflake/releases. As compensating controls until upgraded: restrict who can modify pipeline/workspace variables and Terraform variable inputs (protected branches, mandatory review) to close the SQLi precondition; avoid enabling the affected data source in pipelines that accept untrusted input; and scope the provider's Snowflake role to least privilege rather than ACCOUNTADMIN so injected SQL/DDL cannot mint privileged accounts or exfiltrate broadly - noting the trade-off that a reduced role may break resources that legitimately require elevated grants. Audit recently created Snowflake users for unexpected or attacker-controlled credentials.

Affected VersionsENISA

Terraform Provider for Snowflake 0.1.0 <2.18.0

Affected Packages

euvd terraform_provider_for_snowflake fix: 2.18.0

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

The affected component is the HashiCorp Terraform provider for Snowflake (registry.terraform.io/snowflakedb/terraform-provider-snowflake), an infrastructure-as-code plugin that translates Terraform resource/data-source definitions into SQL and DDL statements run against Snowflake under a privileged provider session. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): user-controllable input flowing into a data source is concatenated into SQL without sanitization, and identifier content in user-resource inputs is not neutralized before being embedded in user-management DDL. Because the provider executes these statements with the credentials configured by the operator (often ACCOUNTADMIN-class privileges), injected SQL/DDL inherits that authority. No CPE strings were supplied in the intelligence, so exact affected configurations are derived from the description and the vendor release notes only.

Know when Hashicorp 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

Vendor (412d305a-227d-44f9-a262-a31ba44f2aea) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Network-reachable via CI/CD but requires influencing a specific enabled data source's workspace variable (AC:H) with pipeline write access (PR:L); injected SQL under the privileged session yields full C/I/A impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (412d305a-227d-44f9-a262-a31ba44f2aea).

CVSS VectorVendor: 412d305a-227d-44f9-a262-a31ba44f2aea

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

Lifecycle Timeline

1
Patch available
Jul 08, 2026 - 16:01 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Snowflake Terraform Provider versions before 2.18.0 contain SQL and DDL injection flaws (CVE-2026-15067, CVSS 8.8) exploitable by authenticated users to exfiltrate data and create unauthorized Snowflake accounts with attacker-controlled credentials, bypassing security controls. Any organization running this provider with Snowflake access faces insider threat exposure and risk of persistent unauthorized data access.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement interim controls: (1) Apply least-privilege IAM permissions to Terraform provider service account; (2) Restrict Snowflake provider operations through network policies and role-based access controls; (3) Enforce Snowflake session-level MFA and IP allowlisting; (4) Implement real-time alerting on account creation, privilege grants, and DDL modifications; (5) Schedule immediate credential rotation and audit all Snowflake user accounts for unauthorized entries; (6) Consider disabling Terraform-based user provisioning until patch is available.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular Snowflake IaC provider, common only in Terraform-managed Snowflake shops
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2021-30476 CRITICAL POC
9.8 Apr 22

HashiCorp Terraform’s Vault Provider (terraform-provider-vault) did not correctly configure GCE-type bound labels for Va

CVE-2019-7442 CRITICAL POC
9.8 May 08

An XML external entity (XXE) vulnerability in the Password Vault Web Access (PVWA) of CyberArk Enterprise Password Vault

CVE-2018-20371 CRITICAL POC
9.8 Dec 23

PhotoRange Photo Vault 1.2 appends the password to the URI for authorization, which makes it easier for remote attackers

CVE-2018-9843 CRITICAL POC
9.8 Apr 12

The REST API in CyberArk Password Vault Web Access before 9.9.5 and 10.x before 10.1 allows remote attackers to execute

CVE-2026-54725 CRITICAL POC
9.6 Jul 31

Server-side request forgery in bank-vaults vault-secrets-webhook (<= 1.22.2) lets a low-privileged tenant with ConfigMap

CVE-2026-60104 CRITICAL POC
9.3 Jul 08

Account takeover in self-hosted Bitwarden Server before 2026.6.0 lets a low-privileged organization member steal any oth

CVE-2021-43837 CRITICAL POC
9.1 Dec 16

vault-cli is a configurable command-line interface tool (and python library) to interact with Hashicorp Vault. Rated cri

CVE-2020-16272 CRITICAL POC
9.1 Aug 03

The SRP-6a implementation in Kee Vault KeePassRPC before 1.12.0 is missing validation for a client-provided parameter, w

CVE-2020-16271 CRITICAL POC
9.1 Aug 03

The SRP-6a implementation in Kee Vault KeePassRPC before 1.12.0 generates insufficiently random numbers, which allows re

CVE-2026-53727 HIGH POC
8.9 Jul 09

Server-side request forgery in the Ruby css_parser gem (< 3.0.0) lets a remote unauthenticated attacker force the parsin

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