Skip to main content

Snowflake CLI CVE-2026-13746

| EUVDEUVD-2026-40132 MEDIUM
SQL Injection (CWE-89)
2026-06-29 SNOWFLAKE GHSA-656q-44hg-7hm7
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local CLI access with valid Snowflake session
  2. Delivery
    Craft malicious value for Cortex SQL or listing command argument
  3. Exploit
    Invoke vulnerable CLI command path with crafted input
  4. Execution
    CLI constructs unintended SQL without sanitization
  5. Persist
    Unintended SQL executes within user's Snowflake session
  6. Impact
    Data read or modified within session privilege boundary

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

Exploitation requires local execution of Snowflake CLI on the attacker's own machine (AV:L), an active authenticated Snowflake session under low-privileged credentials (PR:L), and deliberate use of the Cortex SQL or object listing command paths with crafted argument values (AC:H). The vulnerability is explicitly self-injection only - the crafted values must be supplied via local CLI arguments by the same user whose session executes the resulting SQL; no external or remote input sources (project files, repositories, networked inputs) can trigger the issue. Impact is hard-capped at the session's existing Snowflake privileges, meaning privilege escalation beyond the current user's role is not possible. Exploitation is further limited to Snowflake CLI versions prior to 3.19 on any platform where the CLI is installed.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N yields a score of 3.6 (Low), and the signal alignment across all available sources supports treating this as genuinely low priority in most environments. The local attack vector (AV:L) and high complexity (AC:H) correctly reflect that exploitation requires direct local access to the CLI and deliberate construction of crafted argument values. The low-privilege requirement (PR:L) confirms a valid Snowflake session is needed. EPSS data was not provided in the source intelligence, but the self-injection constraint makes broad automated exploitation implausible. No CISA KEV listing exists, and no public proof-of-concept code has been identified. The unchanged scope (S:U) and low confidentiality/integrity ratings (C:L/I:L) are consistent with the description: impact is bounded to the attacker's own session privileges. This is not a case of CVSS inflation - the score accurately reflects a narrowly constrained vulnerability. The primary real-world concern would be a scenario where a user is socially engineered into running a crafted CLI command string, but this is speculative and not confirmed by available data.

Exploit ScenarioDerived

A user running Snowflake CLI invokes a Cortex SQL or object listing command and supplies a crafted string as a CLI argument - for example, embedding SQL metacharacters or additional SQL statements in a value passed to a vulnerable parameter. The CLI, failing to sanitize the input, incorporates the crafted value directly into the SQL query sent to Snowflake, causing unintended SQL to execute under the user's current session permissions. No public proof-of-concept code has been identified, but the attack pattern follows standard SQL injection mechanics applied to CLI argument parsing.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Jun 29, 2026

Snowflake CLI versions prior to 3.19 permit self-injection SQL execution through improper neutralization of local CLI parameters in Cortex SQL and object listing command paths, where crafted argument values cause the tool to construct and execute unintended SQL within the authenticated user's existing Snowflake session. Exploitation is structurally constrained to self-injection - the attacker must themselves supply the malicious values via local CLI arguments, and impact cannot exceed the privileges already held by the current session context. No public exploit code has been identified and no active exploitation is confirmed; the vendor-assigned CVSS score of 3.6 (Low) accurately reflects the narrow attack surface and bounded impact.

RemediationAI

The primary fix is upgrading Snowflake CLI to version 3.19 or later; Snowflake has confirmed this version contains the patch. Importantly, the upgrade must be performed manually by each user - there is no automatic update mechanism noted in the advisory. Users can verify their installed version and upgrade via standard Python package tooling (e.g., pip install --upgrade snowflake-cli). For environments where immediate upgrade is not feasible, compensating controls include restricting use of the affected Cortex SQL and object listing command paths, and enforcing the principle of least privilege on Snowflake session roles to minimize the impact of any unintended SQL execution within a session. Because the vulnerability is self-injection only, organizations running the CLI in automated pipelines with scripted, controlled argument values face materially lower residual risk than interactive user deployments. Full advisory details are at https://community.snowflake.com/s/article/Snowflake-CLI-Vulnerability-Advisory.

Affected VersionsENISA

Snowflake CLI 2.0.0 <3.19.0

Affected Packages

euvd snowflake_cli fix: 3.19.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 product is Snowflake CLI (CPE: cpe:2.3:a:snowflake:snowflake_cli:*:*:*:*:*:*:*:*), the official command-line interface for interacting with the Snowflake cloud data platform. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a classic SQL injection class. The CLI constructs SQL statements from user-supplied CLI argument values - specifically in Cortex SQL command paths and object listing operations - without properly sanitizing or escaping those values before incorporating them into query strings dispatched to the Snowflake service. Because the injection surface is the local CLI argument vector rather than a shared or external input source (e.g., project files, configuration repositories, or networked user input), the vulnerability is architecturally bounded: the person triggering the injection is the same person whose session executes the resulting SQL.

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 LOW
NVD 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 3.6 LOW

Local vector and high complexity reflect self-injection via deliberate local CLI argument supply; PR:L requires an authenticated session; no availability impact applies.

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

Primary rating from Vendor (SNOWFLAKE).

CVSS VectorNVD

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

Lifecycle Timeline

3
Severity Changed
Jun 30, 2026 - 16:22 NVD
LOW MEDIUM
CVSS changed
Jun 30, 2026 - 16:22 NVD
3.6 (LOW) 5.4 (MEDIUM)
Patch available
Jun 29, 2026 - 18:01 EUVD

DescriptionNVD

Improper neutralization of local CLI parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. A user could trigger this issue by supplying crafted values to vulnerable Cortex SQL or object listing command paths, causing Snowflake CLI to execute unintended SQL in the context of that user's Snowflake session. Successful exploitation is constrained to self-injection because the vulnerable parameters were supplied directly through local CLI arguments rather than through project files, repositories, or other external input sources, and impact is limited to the privileges already available to the current session. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
CLI tool for major enterprise cloud data platform with broad adoption
Data Quality
6 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 Yes
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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