HIGH 8.3

CVE-2026-13744: Snowflake CLI SQL Injection Vulnerability – Patch Guidance

Snowflake CLI versions before 3.19 contain a vulnerability that allows attackers to inject and execute unauthorized SQL commands. An attacker can craft malicious repository content, project configuration files, manifest data, or specification inputs that, when processed by a vulnerable CLI command, will execute SQL statements in the context of the user's Snowflake database session. The actual damage depends on what database permissions that user has. Exploitation requires the victim to actively process the attacker's content, so this is not a passive network attack.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.3 HIGH · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Weaknesses (CWE)
CWE-89
Affected products
1 configuration(s)
Published / Modified
2026-06-29 / 2026-06-30

NVD description (verbatim)

Improper neutralization of attacker-controlled content in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. By supplying crafted repository content, project configuration, manifest data, or specification input, an attacker could cause Snowflake CLI to execute unintended SQL in the context of the victim user's Snowflake session. Successful exploitation requires the victim to process attacker-controlled content through a vulnerable command path and is limited by the privileges assigned to that session. The fix is available in Snowflake CLI version 3.19. Users must manually upgrade.

1 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-13744 is a SQL injection vulnerability (CWE-89) in Snowflake CLI arising from improper neutralization of attacker-controlled input across multiple command pathways. An unauthenticated attacker can supply malicious data through repository configurations, project manifests, or specification files that the CLI fails to sanitize before passing to SQL execution contexts. The CVSS 3.1 score of 8.3 (HIGH) reflects a network-accessible attack surface, high impact across confidentiality, integrity, and availability, but elevated attack complexity and required user interaction. No public exploit code or active exploitation in the wild is currently tracked.

Business impact

Successful exploitation could allow attackers to read, modify, or delete sensitive data within a victim's Snowflake instance, depending on the user's role and permissions. In high-privilege scenarios, this could lead to unauthorized access to production data, intellectual property theft, or data destruction. The attack surface is limited to users who process untrusted CLI inputs (e.g., from shared repositories or third-party configurations), so blast radius is contained unless the CLI is used in automated pipelines with broad database access.

Affected systems

Snowflake CLI versions prior to 3.19 are affected. This impacts any user or automation that runs the CLI to manage Snowflake resources, including developers using local machines, CI/CD pipelines, and infrastructure-as-code deployments. Organizations heavily reliant on the Snowflake CLI for deployment and configuration management face higher risk if they process content from untrusted or insufficiently validated sources.

Exploitability

Exploitability is moderate to difficult. An attacker cannot directly exploit this remotely without user interaction—the victim must actively invoke a vulnerable CLI command and process attacker-supplied content. Attack complexity is high, suggesting the attacker needs to craft inputs carefully to bypass parsing or validation logic. However, once the malicious content is in place (e.g., in a shared Git repository or CI/CD artifact), triggering exploitation is straightforward. Supply-chain scenarios—such as a compromised open-source project dependency or a malicious pull request—raise practical exploitability.

Remediation

Upgrade Snowflake CLI to version 3.19 or later immediately. The vendor has provided the patch in this release and there is no workaround for unpatched versions. Users should prioritize this upgrade across all development environments, CI/CD systems, and automation pipelines. Additionally, enforce input validation and code review practices for any CLI configurations or manifest files sourced from external or untrusted origins.

Patch guidance

Snowflake has released version 3.19 as the fixed version. Users should obtain the latest CLI release from the official Snowflake download channels or package repositories (e.g., npm, pip, or platform-specific installers). Verify the integrity and authenticity of the downloaded package before installation. No interim patches or partial updates are available; a full upgrade to 3.19+ is required. After upgrading, test any existing CI/CD pipelines or automation scripts to ensure compatibility.

Detection guidance

Monitor for CLI commands executed with unusual or suspicious manifest, configuration, or repository content—particularly when processing external or newly introduced files. Check for SQL error messages or unexpected database modifications following CLI invocations. In environments using the CLI within CI/CD, log all invocations and their input sources, flagging attempts to pass raw or unsanitized content directly to the CLI. Endpoint detection tools should flag modifications to CLI configuration files by untrusted processes. Snowflake audit logs may show unusual SQL execution patterns if exploitation occurs.

Why prioritize this

This vulnerability merits urgent attention (HIGH severity) because it enables direct SQL injection into production Snowflake databases. The combination of high confidentiality, integrity, and availability impact, plus its relevance to infrastructure automation, makes it a top priority for organizations using Snowflake CLI in critical workflows. Although user interaction is required, the prevalence of shared repositories and CI/CD systems increases real-world attack surface. The absence of known public exploits or active KEV listing provides a brief window for patching before weaponization.

Risk score, explained

CVSS 3.1 score of 8.3 (HIGH) reflects a network-accessible attack vector, high impact across all three security properties (confidentiality, integrity, availability), and scope change (the vulnerability affects resources beyond the vulnerable component). The elevated attack complexity and requirement for user interaction prevent a critical rating. The score appropriately weights the threat: serious enough to demand rapid remediation, but not the most severe class of vulnerability.

Frequently asked questions

Can this vulnerability be exploited without user interaction?

No. An attacker cannot silently exploit this vulnerability. The victim must actively invoke a vulnerable Snowflake CLI command and process attacker-supplied content (such as a malicious manifest or configuration file). However, in CI/CD or automation contexts, this interaction may be automated and less visible.

What database operations could an attacker perform if they exploit this?

The attacker's capabilities depend entirely on the Snowflake role and permissions assigned to the user running the CLI. If the user has broad access, the attacker could read, modify, or delete data. If the user has limited permissions (e.g., read-only access to non-sensitive schemas), damage is correspondingly limited. Always apply least-privilege access to CLI service accounts.

Is there a workaround if we cannot immediately patch?

There is no vendor-provided workaround. The best interim measures are to restrict CLI usage to trusted, internally-managed content; avoid processing external or user-supplied configurations; and isolate CLI automation accounts to minimal required database permissions. However, upgrading to version 3.19 is the only complete fix.

Does this affect Snowflake itself, or only the CLI tool?

This vulnerability is specific to the Snowflake CLI tool. The Snowflake cloud service itself is not affected. However, if the CLI is compromised, it can be used to attack your Snowflake databases. The vulnerability is in how the CLI processes and sanitizes input before executing SQL.

This analysis is provided for informational purposes and reflects publicly available information as of the publication date. No active exploitation in the wild has been confirmed at the time of writing. Organizations should verify patch availability and compatibility within their specific environments and consult Snowflake's official advisory for the most current guidance. SEC.co makes no warranty regarding the completeness or accuracy of this information and recommends consulting official vendor documentation and conducting independent security assessments. Source: NVD (public-domain), retrieved 2026-08-08. Analysis generated by SEC.co (claude-haiku-4-5).