Junglewise Threat Intelligence

CVE-2026-13751: Snowflake CLI SSRF and Remote SQL Execution in SQL Reader

CVE-2026-13751 · Severity: medium · CVSS 4.1 · Published 2026-06-29

Technologies: Snowflake CLI. Vendors: Snowflake.

Executive brief

The Snowflake Command Line Interface (CLI) is a tool used by developers and data engineers to manage and interact with Snowflake data platforms. A vulnerability in how the tool handles certain SQL commands could allow an attacker to trick a user into making unauthorized network requests or executing malicious code from a remote server. This could lead to the exposure of internal network information or the compromise of the user's active data session.

Technical details

Snowflake CLI versions 3.6.0 through 3.18.x contain a Server-Side Request Forgery (SSRF) vulnerability in the SQL statement reader. The root cause is improper validation of remote references within the '!source' and '!load' directives, which allow the retrieval of content from remote URLs at runtime. An attacker can exploit this by providing a crafted SQL file to a victim; when processed, the CLI may issue outbound requests to internal or non-public network locations. Furthermore, the CLI may retrieve and execute remote SQL content within the context of the victim's session. Exploitation requires user interaction (processing the malicious content) and is limited by the user's local and session privileges. Snowflake CLI version 3.19 addresses this by providing an option to disable remote URL retrieval.

Affected products

  • Snowflake Snowflake CLI 3.6.0 to 3.18.x (fixed in 3.19.0)

Timeline

  • 2026-06-29: advisory: Initial disclosure and NVD publication
  • 2026-06-29: patched: Fix released in Snowflake CLI version 3.19.0

References

Related threats