Skip to main content

Snowflake CLI EUVDEUVD-2026-40147

| CVE-2026-13751 CRITICAL
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-06-29 412d305a-227d-44f9-a262-a31ba44f2aea GHSA-6xpv-fwh6-29jc
Critical
Disputed · 9.6 NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft SQL with !source/!load remote URL
  2. Delivery
    Deliver script to victim workflow
  3. Exploit
    Victim runs script in vulnerable CLI
  4. Execution
    CLI fetches attacker/internal URL (SSRF)
  5. Persist
    Remote SQL executed in victim session
  6. Impact
    Internal 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).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 30, 2026 - 16:28 cvss changed CVSS 9.6

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.

v1 Jun 29, 2026 - 17:33 CVSS 4.1

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

Snowflake CLI 3.6.0 <3.19.0

Affected Packages

euvd snowflake_cli fix: 3.19.0

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)
Vendor (412d305a-227d-44f9-a262-a31ba44f2aea) PRIMARY MEDIUM
NVD 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 9.6 CRITICAL

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).

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jun 30, 2026 - 16:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 16:28 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 16:22 NVD
MEDIUM CRITICAL
CVSS changed
Jun 30, 2026 - 16:22 NVD
4.1 (MEDIUM) 9.6 (CRITICAL)
Patch available
Jun 29, 2026 - 19:01 EUVD

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
official CLI for widely-used Snowflake platform, but a niche developer tool
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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