Skip to main content

Snowflake CLI CVE-2026-92903

| EUVDEUVD-2026-81428 HIGH
SQL Injection (CWE-89)
2026-09-17 SNOWFLAKE GHSA-p2xq-qfx5-xp6q
8.2
CVSS 3.1 · Vendor: SNOWFLAKE
View

Attack ChainAIDerived

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

  1. Access
    Obtain repo write/PR access
  2. Delivery
    Plant malicious value in snowflake.yml or CLI input
  3. Exploit
    CI/CD pipeline runs Snowflake CLI
  4. Execution
    Unsanitized value interpolated into SQL string
  5. Persist
    Multi-statement query executes under service-account role
  6. Impact
    Exfiltrate or alter Snowflake data

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

Requires ONE of two concrete preconditions named in the advisory: (1) write or pull-request access to a project repository whose CI/CD pipeline runs Snowflake CLI under an elevated Snowflake service-account role, letting the attacker plant a malicious snowflake.yml project configuration file; or (2) the ability to feed untrusted input into automation that wraps Snowflake CLI via command-line input. The CLI must actually be executed against the target Snowflake session (UI:R), and the blast radius is strictly bounded by the privileges of the configured Snowflake role at execution time - a least-privilege role sharply limits impact. Limiting factors: local vector (not remotely reachable), attacker needs repo-write/PR or automation-input access, and the fix requires a MANUAL upgrade to 3.27.0 (no auto-update).

Impact

The vendor CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H = 8.2 High) is internally consistent with the description and I broadly agree with it. This is NOT a remote-unauthenticated 'internet-facing' bug despite the High score: AV:L and PR:L correctly reflect that the attacker must supply a local artifact (a malicious snowflake.yml project config or crafted CLI input) and needs write/pull-request access to a repository, and UI:R reflects that a victim (or their CI/CD pipeline) must actually run Snowflake CLI. The S:C scope change and C:H/I:H/A:H are justified because injected SQL escapes the CLI process and executes against the separate Snowflake account/data warehouse with the full privileges of the configured role. No EPSS score, no CISA KEV listing, and no public POC are present in the input - there is no public exploit identified at time of analysis, so this is a real-but-conditional priority rather than an actively-exploited emergency. The most important limiting signal, stated explicitly by the vendor, is that 'impact is limited by the privileges held by the configured Snowflake role' - a pipeline running under a low-privilege role is far lower risk than one running under an elevated service account. Prioritize upgrading pipelines that run Snowflake CLI under broad service-account roles; deprioritize interactive/low-privilege developer use.

Exploit ScenarioDerived

An attacker with pull-request access to a repository opens a PR that plants a crafted value in snowflake.yml (or in an argument consumed by CLI-wrapping automation). When the CI/CD pipeline runs Snowflake CLI under its elevated service-account role, the unsanitized value is interpolated into a multi-statement SQL string and executed, letting the attacker run arbitrary SQL (e.g., exfiltrate or drop data) as that role. No public POC or exploit code is identified in the available data; exploitation is local/config-driven (AV:L) with low complexity (AC:L) but requires the pipeline to execute the CLI (UI:R).

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

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

Alert me

AnalysisAIv1 – Sep 17, 2026

SQL injection in Snowflake CLI versions prior to 3.27.0 lets an attacker who can plant a malicious project configuration file (for example snowflake.yml) or feed untrusted input into CLI-wrapping automation run arbitrary attacker-controlled SQL - including chained multi-statement queries - inside the victim's Snowflake session and under the privileges of the active role. The weakness is rated High (CVSS 3.1 base 8.2, AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H), reflecting a local attack vector, a requirement for repo write/pull-request access or equivalent automation input control, and user interaction since the CLI must actually be executed. Exploitation preconditions are concrete rather than mass-exploitable: an affected CI/CD pipeline running Snowflake CLI under an elevated service account, or a wrapper that passes untrusted values on the command line, and blast radius is bounded by the configured role; no public exploit identified at time of analysis and no CISA KEV listing, and the fix requires a manual upgrade to 3.27.0.

RemediationAI

The primary fix is a manual upgrade to Snowflake CLI 3.27.0, which resolves this SQL injection along with several other security findings - note that the CLI does not auto-update, so the upgrade must be explicitly applied to every developer workstation, container image, and CI/CD runner, and the affected version should be pinned out of build definitions. Before upgrading, review existing project files because 3.27.0 introduces backward-incompatible behavior: snow streamlit deploy now rejects unrecognized runtime_name values instead of silently dropping them, empty or whitespace-only runtime_name or compute_pool is now an error rather than treated as unset, and a previously ignored runtime_name now takes effect and will issue ALTER STREAMLIT ... SET RUNTIME_NAME on the next deploy, potentially moving an existing app to a different runtime; a runtime released after the installed CLI version will also be rejected until the CLI is upgraded again. If immediate upgrade is not possible, apply compensating controls that target the two named preconditions: run the CLI only under a least-privilege Snowflake role that holds no grants beyond what the pipeline needs, which directly caps impact since injected statements inherit those privileges; restrict write and pull-request access to repositories whose pipelines invoke the CLI, and require mandatory review of changes to snowflake.yml and related project configuration files, treating them as untrusted code; and in any automation that wraps the CLI, stop passing externally sourced values as command-line arguments, instead mapping them to a fixed allowlist or validating them against a strict pattern before invocation. Each of these reduces convenience - least-privilege roles may require separate deployment credentials, and strict repo controls slow down legitimate contributors - but they remove or shrink the attack surface until 3.27.0 is deployed everywhere. Details are available in the vendor release at https://github.com/snowflakedb/snowflake-cli/releases/tag/v3.27.0.

Affected VersionsENISA

Snowflake CLI 0 <3.27.0

Affected Packages

euvd snowflake_cli fix: 3.27.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 root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): user-controlled values derived from project configuration files and command-line arguments were interpolated directly into SQL strings instead of being bound as parameters, and those strings were then executed as multi-statement queries. Multi-statement execution is what elevates this from a data-tampering bug to a full statement-injection primitive, because the attacker is not limited to altering the intended statement's operands - they can append arbitrary DDL/DML that runs in sequence. The affected technology is the Snowflake CLI, the Python-based developer/DevOps toolchain used to deploy and manage Snowpark, Streamlit, and schema objects against a Snowflake account; the CPE data (cpe:2.3:a:snowflake:snowflake_cli, recorded as wildcard version ranges against the Snowflake product namespace) confirms every release before 3.27.0 is in scope. The vendor release notes for 3.27.0 bundle this fix with other hardening changes, notably stricter validation of runtime_name and compute_pool in snowflake.yml, a tomlkit upgrade from 0.13.3 to 0.15.1 fixing quadratic parsing of config.toml/connections.toml, and new dependency collection from pyproject.toml - all of which indicate the project-configuration ingestion path received a broader security review. Because the injected SQL executes with the identity of the configured Snowflake role, the technical impact ceiling is defined by that role's grants rather than by anything in the CLI itself.

Know when Snowflake Cli 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 (SNOWFLAKE) PRIMARY 8.2 HIGH
AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 8.2 HIGH

Local config/CLI input vector (AV:L) needing repo/automation access (PR:L) and pipeline execution (UI:R); injected SQL escapes the CLI to hit the Snowflake account (S:C, C/I/A:H).

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

Primary rating from Vendor (SNOWFLAKE).

CVSS VectorVendor: SNOWFLAKE

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

Lifecycle Timeline

2
Patch available
Sep 17, 2026 - 12:01 EUVD
CVE Published
Sep 17, 2026 - 10:49 cve.org
HIGH 8.2

DescriptionCVE.org

Improper input validation in Snowflake CLI versions prior to 3.27.0 allowed unsanitized user-controlled values to be interpolated into SQL strings that are executed as multi-statement queries. An attacker who is able to supply a malicious project configuration file or craft command-line input can cause Snowflake CLI to execute attacker-controlled SQL statements in the context of the victim's Snowflake session and active role. Successful exploitation requires either write or pull-request access to a project repository whose CI/CD pipeline runs Snowflake CLI under an elevated service account role, or the ability to supply untrusted input to CLI-wrapping automation. Impact is limited by the privileges held by the configured Snowflake role at execution time. The fix is available in Snowflake CLI version 3.27.0, which also addresses several additional security findings. Users must manually upgrade.

Executive ViewAI

Why It Matters

Snowflake CLI versions before 3.27.0 contain a high-severity SQL injection that could let an authenticated attacker with local access and user interaction execute arbitrary SQL inside a victim's Snowflake session, under the privileges of the active role. The greatest organizational risk is in CI/CD pipelines that run Snowflake CLI under elevated service accounts or wrappers that pass untrusted inputs, where a malicious project file or automation value could expose or alter downstream data. Leadership should prioritize restricting repository and automation input access, enforcing least privilege, and monitoring CLI SQL activity until a vendor patch is available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting write access to repositories and CI/CD inputs, validating and sanitizing untrusted CLI arguments and project files, running Snowflake CLI only under least-privilege roles and non-elevated service accounts, disabling multi-statement execution if feasible, monitoring SQL logs for anomalous queries, and conducting code reviews for snowflake.yml and wrapper automation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
official CLI of a widely-used data platform, but vuln path gated to CI/CD automation
Data Quality
5 sources
Confidence: Medium

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.1%
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
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
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.

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