CVE-2026-13751: Server-Side Request Forgery (SSRF) in Snowflake Snowflake CLI
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.
AI Analysis
Technical Summary
The Snowflake CLI before version 3.19 improperly handles untrusted remote references in its SQL statement reader's !source/!load directives. This allows an attacker to supply crafted SQL content that triggers the victim's environment to perform SSRF attacks by issuing outbound requests to internal or non-public networks and executing remote SQL content within the victim's session. Exploitation requires user interaction (processing attacker-controlled content) and is constrained by the privileges of the session. The vulnerability has a CVSS 3.1 score of 4.1 (medium severity). Snowflake CLI version 3.19 introduces a fix by adding an option to disable remote URL retrieval, mitigating the SSRF risk.
Potential Impact
Successful exploitation can lead to unintended outbound requests from the victim's environment to internal or non-public network locations, potentially exposing internal services or data. Additionally, remote SQL content could be retrieved and executed in the context of the victim's session, leading to limited confidentiality and integrity impacts. The impact is limited by the privileges of the session processing the malicious content. There are no known exploits in the wild.
Mitigation Recommendations
A patch is available in Snowflake CLI version 3.19, which adds an option to disable remote URL retrieval and mitigates this SSRF vulnerability. Users should upgrade to version 3.19 or later to remediate this issue. Since this is a cloud service, the vendor manages remediation for the cloud-hosted components; however, local CLI versions prior to 3.19 remain vulnerable until updated. No additional mitigation actions are specified by the vendor.
CVE-2026-13751: Server-Side Request Forgery (SSRF) in Snowflake Snowflake CLI
Description
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.
CVSS v3.1
Score 4.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Snowflake CLI before version 3.19 improperly handles untrusted remote references in its SQL statement reader's !source/!load directives. This allows an attacker to supply crafted SQL content that triggers the victim's environment to perform SSRF attacks by issuing outbound requests to internal or non-public networks and executing remote SQL content within the victim's session. Exploitation requires user interaction (processing attacker-controlled content) and is constrained by the privileges of the session. The vulnerability has a CVSS 3.1 score of 4.1 (medium severity). Snowflake CLI version 3.19 introduces a fix by adding an option to disable remote URL retrieval, mitigating the SSRF risk.
Potential Impact
Successful exploitation can lead to unintended outbound requests from the victim's environment to internal or non-public network locations, potentially exposing internal services or data. Additionally, remote SQL content could be retrieved and executed in the context of the victim's session, leading to limited confidentiality and integrity impacts. The impact is limited by the privileges of the session processing the malicious content. There are no known exploits in the wild.
Mitigation Recommendations
A patch is available in Snowflake CLI version 3.19, which adds an option to disable remote URL retrieval and mitigates this SSRF vulnerability. Users should upgrade to version 3.19 or later to remediate this issue. Since this is a cloud service, the vendor manages remediation for the cloud-hosted components; however, local CLI versions prior to 3.19 remain vulnerable until updated. No additional mitigation actions are specified by the vendor.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- SNOWFLAKE
- Date Reserved
- 2026-06-29T16:08:38.011Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a42a9a827e9c79719324a23
Added to database: 06/29/2026, 17:21:44 UTC
Last enriched: 06/29/2026, 17:36:29 UTC
Last updated: 06/29/2026, 18:06:31 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.