CVE-2026-13748

Snowflake CLI Arbitrary Local File Read and Exfiltration Through Improper File Path Restriction

Published Jun 29, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability in Snowflake CLI allows attackers to supply crafted repository or project content that references files outside the intended project directory. This improper file path resolution permits the CLI to read arbitrary local files and transmit their contents to Snowflake services during deployment or SQL template processing. The result is a local file read that can lead to data exfiltration, compromising the confidentiality of files on the victim’s system.

Affected Systems

Snowflake CLI versions prior to 3.19 are affected. The vulnerability applies to the Snowflake CLI tool used for deploying projects, uploading stages, and processing SQL templates. Any installation of Snowflake CLI that has not been upgraded to 3.19 or later is vulnerable.

Risk and Exploitability

The CVSS score of 6.3 classifies the flaw as medium severity. EPSS is not available, but the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the victim to run the CLI with attacker‑controlled project content; therefore the attack vector is local or requires social engineering to supply the content. Once the CLI executes the content, it will read the specified files and upload their contents to the Snowflake account, making detection reliant on account monitoring. Because the flaw exploits path‑traversal weaknesses (CWE‑22, CWE‑61, CWE‑73), any user who processes untrusted project data is at risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Snowflake CLI to version 3.19 or later.
  • Verify that any custom scripts or project files do not reference paths outside the project directory before deployment.
  • Monitor Snowflake account artifacts such as query history and stage uploads for unexpected data or file contents that may indicate exfiltration.

Generated by OpenCVE AI on June 29, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Snowflake
Snowflake snowflake Cli
Vendors & Products Snowflake
Snowflake snowflake Cli
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Snowflake CLI Arbitrary Local File Read and Exfiltration Through Improper File Path Restriction
Weaknesses CWE-22
CWE-61
CWE-73
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-61

    UNIX Symbolic Link (Symlink) Following

  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
SNOWFLAKE
Published
Updated
Jun 29, 2026, 4:20 PM
Reserved
Jun 29, 2026, 3:52 PM
Status
Analyzed
Published
Jun 29, 2026, 4:16 PM
Modified
Oct 25, 2026, 9:10 PM