Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft SQL with !source/!load remote URL
-
DeliveryDeliver script to victim workflow
-
ExploitVictim runs script in vulnerable CLI
-
ExecutionCLI fetches attacker/internal URL (SSRF)
-
PersistRemote SQL executed in victim session
-
ImpactInternal access or data impact
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
|
| Exploitation Conditions | Exploitation requires the victim to process attacker-controlled SQL content through a vulnerable command path that invokes the SQL statement reader's !source or !load directives, and requires the running Snowflake CLI to be between 3.6.0 and 3.18.x with remote URL retrieval enabled (the default before 3.19.0). The concrete limiting factors are: mandatory user interaction (UI:R) - the victim must actively run the crafted script; the impact is bounded by the privileges of the victim's Snowflake session and host environment; and any environment already on 3.19.0+ with remote URL retrieval disabled is not exploitable. This is not unauthenticated default-config remote exploitation against a server - it is a client-side/social-engineering chain against a developer or automation workflow that ingests untrusted SQL. |
| Impact | Signals conflict and must be weighed rather than read off the 9.6 alone. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H drives the critical score via scope change and full CIA impact, but the UI:R term is doing heavy lifting - exploitation is not autonomous and depends on a human running attacker-controlled SQL through a vulnerable command path. CISA's SSVC framework reinforces this: Exploitation 'none', Automatable 'no', Technical Impact only 'partial' - materially less alarming than the headline number. EPSS is 0.09% (1st percentile), and the issue is not KEV-listed with no public exploit identified at time of analysis. Net: this is a genuine high-impact client-side SSRF/remote-include flaw worth prioritizing for environments that script Snowflake CLI over untrusted SQL, but it is not a mass-exploitation, internet-facing emergency. The PR:N rating reflects that the CLI tool itself needs no authentication to trigger the parser, yet successful impact is bounded by the privileges of the victim's Snowflake session. |
| Exploit ScenarioDerived | An attacker delivers a SQL file (e.g., via a shared repo, support ticket, or 'helpful' setup script) containing a !source or !load directive pointing at an attacker-controlled or internal URL. When the victim runs that script through a pre-3.19 Snowflake CLI, the CLI fetches the remote content - reaching internal systems on the victim's behalf and executing the returned SQL in the victim's authenticated session. No public exploit is identified at time of analysis, and the attack hinges on the victim being induced to process the malicious content (UI:R, AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 30, 2026
Server-side request forgery in Snowflake CLI versions 3.6.0 through 3.18.x lets an attacker coerce a victim's CLI session into fetching attacker-chosen remote URLs and then retrieving and executing remote SQL in that session's context. The flaw lives in the SQL statement reader's !source/!load directives, which resolve remote references at runtime without restricting the request destination, so a victim who processes attacker-supplied SQL can be made to reach internal/non-public network locations. Despite a 9.6 CVSS, real-world urgency is tempered by required user interaction and a low EPSS (0.09%); there is no public exploit identified at time of analysis and it is not in CISA KEV.
Earlier versions of this analysis (2)
Server-side request forgery in Snowflake CLI versions 3.6.0 through 3.18.x lets an attacker who tricks a victim into processing crafted SQL content abuse the statement reader's !source/!load directives to fetch attacker-chosen remote URLs at runtime. The victim's environment is coerced into issuing outbound requests to internal or non-public network locations, and remote SQL can be retrieved and executed inside the victim user's session. No public exploit identified at time of analysis, and the EPSS probability is very low (0.09%), but a vendor patch (3.19.0) is available.
Snowflake CLI versions prior to 3.19 are affected by a server-side request forgery (SSRF) vulnerability in the SQL statement reader's remote-inclusion directives, allowing attacker-crafted SQL content to trigger unintended outbound requests from the victim's environment to internal or non-public network locations. When a victim processes malicious SQL content containing crafted !source or !load directives, the CLI fetches remote URLs without destination restriction, potentially exposing internal network services and causing arbitrary remote SQL to execute under the victim's session privileges. No public exploit code or active exploitation has been identified at time of analysis; Snowflake has released a fix in version 3.19.
RemediationAI
Upgrade to the fixed release - Vendor-released patch: Snowflake CLI version 3.19.0, which introduces an option to disable remote URL retrieval; this is the primary and recommended fix. After upgrading, explicitly enable/confirm the new setting that disables remote !source/!load URL retrieval so the SSRF primitive is closed even if a script attempts it. As a compensating control where immediate upgrade is not possible, do not run SQL scripts from untrusted or externally-sourced files through the CLI, and treat !source/!load directives in shared SQL as dangerous input; on the network side, restrict outbound egress from CLI hosts so they cannot reach internal/metadata or sensitive non-public endpoints (trade-off: may break legitimate internal includes), and run the CLI under a least-privilege Snowflake role to cap what retrieved SQL can do (trade-off: may require role adjustments in automation). See the vendor advisory at https://community.snowflake.com/s/article/Snowflake-CLI-Vulnerability-Advisory for authoritative guidance.
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
Snowflake CLI is the official command-line client for Snowflake's data platform, used by developers and data engineers to run SQL scripts and manage objects. The vulnerable component is the SQL statement reader that interprets the !source and !load meta-directives (used to include external SQL files); in affected builds these directives accept remote URLs and dereference them at execution time. This maps to CWE-829 (Inclusion of Functionality from an Untrusted Control Sphere): the reader pulls executable SQL content from a control sphere the user does not trust and runs it inline. Because the fetch destination is unrestricted, the same primitive doubles as SSRF - the CLI host becomes an outbound request proxy reaching internal endpoints, and the retrieved SQL is then executed with the victim session's Snowflake privileges. The single affected product per CPE is cpe:2.3:a:snowflake:snowflake_cli (tagged SSRF, Snowflake CLI).
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
Sources disagree (Medium–Critical)AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Network parser with no auth gate (PR:N) but requires victim to run crafted SQL (UI:R); SSRF plus session-context SQL execution crosses scope (S:C) with high C/I, while availability impact is limited (A:L).
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
Improper handling of untrusted remote references in Snowflake CLI versions prior to 3.19 allowed server-side request forgery. The SQL statement reader's !source/!load directives could reference remote URLs that were retrieved at runtime without sufficient restriction on the request destination. By supplying crafted SQL content processed through a vulnerable command path, an attacker could cause the victim's environment to issue unintended outbound requests to internal or otherwise non-public network locations, and could cause remote SQL content to be retrieved and executed in the context of the victim user's session. Successful exploitation requires the victim to process attacker-controlled content through a vulnerable command path and is limited by the privileges available to that session and environment. The fix is available in Snowflake CLI version 3.19, which adds an option to disable remote URL retrieval.
Executive ViewAI
Snowflake CLI versions 3.6.0-3.18.x contain a critical vulnerability enabling data exposure if users are tricked into processing attacker-supplied SQL commands. No active exploitation is currently occurring, but all organizations using affected CLI versions require prompt patching to protect database access and sensitive analytics data.
Apply vendor patch.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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 prior to 3.27.0 lets an attacker who can plant a malicious project configuration
SQL injection in Snowflake CLI versions 1.1.0 through 3.18.x (fixed in 3.19) lets crafted parameter values reach vulnera
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-40147
GHSA-6xpv-fwh6-29jc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB