Skip to main content

Snowflake CLI EUVDEUVD-2026-40133

| CVE-2026-13748 MEDIUM
Path Traversal (CWE-22)
2026-06-29 SNOWFLAKE GHSA-8394-2w3w-5r9h
6.3
CVSS 3.1 · Vendor: SNOWFLAKE
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted project repo with path traversal refs
  2. Delivery
    Victim runs CLI deploy or template command
  3. Exploit
    CLI resolves out-of-bounds file paths on local host
  4. Execution
    Sensitive local files read by CLI process
  5. Persist
    Contents uploaded to victim's Snowflake stage or embedded in artifacts
  6. Impact
    Attacker retrieves exfiltrated data from Snowflake account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must have a Snowflake CLI version prior to 3.19 installed and must actively execute a deployment or SQL template processing command (such as snow deploy or equivalent) against attacker-controlled project content - this is confirmed by CVSS UI:R (user interaction required). The attacker must be able to deliver a crafted project directory or repository containing path-traversal references to files outside the project root; this can occur via supply chain compromise, shared project templates, or social engineering. CVSS PR:N confirms the attacker requires no privileges on the victim's local system. An additional limiting factor is that retrieval of exfiltrated data requires the attacker to have access to the victim's Snowflake account artifacts (query history or stage contents), preventing purely passive exfiltration and limiting exploitation to scenarios where the attacker has or can gain Snowflake account visibility. Exploitation is therefore not automatable at scale and does not affect default Snowflake CLI usage against internally controlled projects.

Impact

The CVSS 3.1 base score of 6.3 (Medium) with vector AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N accurately reflects the attack model: exploitation is local (the victim must execute the CLI on attacker-supplied content), requires no attacker privileges on the victim system, mandates active victim interaction, and results in a scope change because exfiltrated data leaves the victim's machine and enters Snowflake's cloud environment. The high confidentiality impact (C:H) is significant - arbitrary host files such as SSH keys, cloud provider credentials, or API tokens could be exfiltrated. No EPSS score is present in the input data, and this CVE does not appear in the CISA KEV catalog, meaning active exploitation has not been confirmed by a government authority. No proof-of-concept is identified. Despite the medium CVSS score, the real-world risk to data engineering teams is elevated: developers routinely clone and execute third-party Snowflake project templates, and supply-chain or social-engineering delivery of a malicious project is a realistic attack path. The additional attacker requirement of accessing the victim's Snowflake account artifacts (query history, stage files) limits autonomous mass exploitation but does not eliminate targeted threat scenarios.

Exploit ScenarioDerived

An attacker publishes or shares a malicious Snowflake project template - for example, via a public GitHub repository, a community forum post, or a compromised dependency - containing path-traversal references (such as ../../.aws/credentials) in deployment configuration or SQL template files. When a developer with a pre-3.19 Snowflake CLI clones the repository and runs a deployment or template processing command, the CLI resolves the traversal paths, reads the referenced sensitive files, and uploads or embeds their contents into Snowflake stage storage or query artifacts. The attacker subsequently retrieves the exfiltrated data by accessing the victim's Snowflake account, either through direct account access or by having established a foothold via previously stolen credentials. No public proof-of-concept has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 29, 2026

Path traversal in Snowflake CLI versions prior to 3.19 enables arbitrary local file exfiltration to Snowflake cloud services when a victim processes attacker-controlled project or repository content. The CLI fails to restrict file path resolution during deployment or SQL template processing, allowing crafted project files to reference and transmit content from outside the intended project directory boundary to Snowflake-hosted artifacts. No public exploit has been identified and this CVE is not listed in the CISA KEV catalog; upgrade to version 3.19 is required as the vendor documents no supported workarounds.

RemediationAI

Upgrade Snowflake CLI to version 3.19 or later, which is the vendor-confirmed fix per the advisory at https://community.snowflake.com/s/article/Snowflake-CLI-Vulnerability-Advisory; the vendor notes that upgrade must be performed manually as no automatic update mechanism is described. No vendor-documented workarounds exist. While upgrading, avoid executing Snowflake CLI deployment or SQL template commands against untrusted, community-sourced, or third-party project content. As a compensating control, restrict the filesystem context available during CLI execution: ensure working directories used for Snowflake CLI operations do not have sensitive directories (such as ~/.ssh, ~/.aws, or ~/.config) accessible via relative traversal. If potential exposure is suspected, review Snowflake account query history and uploaded stage contents for unexpected file artifacts, then rotate any credentials that may have been accessible on the affected host.

Affected VersionsENISA

Snowflake CLI 0.2.2 <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 tool for interacting with Snowflake's cloud data warehouse platform, used by data engineers and developers for deployment workflows, SQL template processing, and stage management. The root cause is CWE-22 (Path Traversal / Improper Limitation of a Pathname to a Restricted Directory): the CLI does not canonicalize or sandbox file path references found in project configuration or SQL templates before resolving and reading them. As a result, an attacker-controlled project file can embed references such as relative traversal sequences (e.g., ../../.ssh/id_rsa) or absolute paths pointing to sensitive host files outside the project root. The CLI then reads and transmits those files to Snowflake stage storage or embeds them into SQL artifacts, completing the exfiltration. All versions captured by CPE cpe:2.3:a:snowflake:snowflake_cli:*:*:*:*:*:*:*:* prior to 3.19 are affected.

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

Vendor (SNOWFLAKE) PRIMARY 6.3 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
vuln.today AI 6.3 MEDIUM

Local vector because victim must execute CLI on attacker content locally; PR:N as attacker needs no host privileges; UI:R for required victim action; S:C because data exits to Snowflake cloud; C:H for arbitrary file read with no integrity or availability impact.

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

Primary rating from Vendor (SNOWFLAKE).

CVSS VectorVendor: SNOWFLAKE

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

Lifecycle Timeline

1
Patch available
Jun 29, 2026 - 18:01 EUVD

DescriptionCVE.org

Improper restriction of file path resolution in Snowflake CLI versions prior to 3.19 allowed arbitrary local file content to be read and transmitted to Snowflake services. An attacker could exploit this by supplying crafted repository or project content that referenced files outside the intended project boundary, causing Snowflake CLI to read local files and upload or embed their contents during deployment or SQL template processing. Successful exploitation required the victim to process attacker-controlled project content, and retrieval of exfiltrated data depended on access to the victim's Snowflake account artifacts such as query history or uploaded stage content. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
developer CLI for Snowflake, a widely adopted enterprise cloud data platform
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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