Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain repo write/PR access
-
DeliveryPlant malicious value in snowflake.yml or CLI input
-
ExploitCI/CD pipeline runs Snowflake CLI
-
ExecutionUnsanitized value interpolated into SQL string
-
PersistMulti-statement query executes under service-account role
-
ImpactExfiltrate 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
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).
Primary rating from Vendor (SNOWFLAKE).
CVSS VectorVendor: SNOWFLAKE
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Snowflake Cli
View allArbitrary code execution in Snowflake CLI versions prior to 3.19 lets an attacker run code in the context of any develop
SQL injection in Snowflake CLI versions 1.2.2 through 3.18.x allows an attacker to execute unintended SQL statements wit
SQL injection in Snowflake CLI versions 1.1.0 through 3.18.x (fixed in 3.19) lets crafted parameter values reach vulnera
Server-side request forgery in Snowflake CLI versions 3.6.0 through 3.18.x lets an attacker coerce a victim's CLI sessio
Path traversal in Snowflake CLI versions prior to 3.19 enables arbitrary local file exfiltration to Snowflake cloud serv
Snowflake CLI versions prior to 3.19 write plaintext credentials - including passwords, authentication tokens, and priva
Snowflake CLI versions prior to 3.19 permit self-injection SQL execution through improper neutralization of local CLI pa
EUVD-2026-81428
GHSA-p2xq-qfx5-xp6q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB