Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attacker needs no credentials (PR:N) but the victim must process malicious content through a CLI command (UI:R); injected SQL yields full read/write/destroy within the session, so C/I/A:H.
Primary rating from Vendor (SNOWFLAKE).
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Lifecycle Timeline
6DescriptionNVD
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.
AnalysisAI
SQL injection in Snowflake CLI versions 1.2.2 through 3.18.x allows an attacker to execute unintended SQL statements within a victim's authenticated Snowflake session by planting crafted repository content, project configuration, manifest, or specification input. When a developer processes that attacker-controlled content through a vulnerable command path, the injected SQL runs with the victim's session privileges, enabling data theft, modification, or destruction up to that user's authorization level. There is no public exploit identified at time of analysis, exploitation is not confirmed in CISA KEV, and EPSS is low at 0.31% (23rd percentile), reflecting the user-interaction requirement.
Technical ContextAI
Snowflake CLI is the official command-line client (cpe:2.3:a:snowflake:snowflake_cli) used by developers to build, deploy, and manage Snowflake objects, Native Apps, and Snowpark/streamlit projects. The root cause is CWE-89 (improper neutralization of special elements used in an SQL command): the CLI builds and submits SQL to the Snowflake engine using values drawn from project files (project configuration, manifests, specifications) and repository content without sufficiently neutralizing attacker-influenced identifiers or literals. Because these inputs feed directly into statements executed against the user's live session, malicious content embedded in a shared project or repo becomes a SQL injection primitive at command execution time.
RemediationAI
Vendor-released patch: Snowflake CLI version 3.19.0 - upgrade to 3.19.0 or later, noting that Snowflake states users must MANUALLY upgrade (there is no automatic update), so pin the new version explicitly in developer machines, build images, and CI/CD pipelines. Until upgraded, treat untrusted Snowflake CLI projects and repositories as hostile: avoid running CLI commands against repository content, project configs, manifests, or specifications from untrusted or externally contributed sources, and review those files before processing them. As a defense-in-depth compensating control, run the CLI under a Snowflake role with least-privilege scoping so any injected SQL is bounded by minimal session privileges (trade-off: may require role adjustments for legitimate workflows). Consult the Snowflake advisory at https://community.snowflake.com/s/article/Snowflake-CLI-Vulnerability-Advisory for authoritative guidance.
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.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
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-40129
GHSA-6whc-m7mm-g2x4