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
Share

Severity by source

Vendor (SNOWFLAKE) PRIMARY
LOW
qualitative
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

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
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
Analysis Generated
Jun 29, 2026 - 16:33 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

CVE-2026-13746 vulnerability details – vuln.today

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