Skip to content
Heist/ feed
Back to feed
Medium

Snowflake CLI Server-Side Request Forgery via Arbitrary URL Fetch in !source/!load

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-13751
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 13:23 UTC · Revision 1

Source evidence

Snowflake CLI Server-Side Request Forgery via Arbitrary URL Fetch in !source/!load

core-osv · Original source

Published 29 Jun 2026, 16:12 UTC

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.

osv:CVE-2026-13751
Complete source record
{
  "id": "9b5a2785d1189c75bd15a49ea986870dbcc478815fe0caa9c4b788f5285ab9e9",
  "url": "https://osv.dev/vulnerability/CVE-2026-13751",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Snowflake CLI Server-Side Request Forgery via Arbitrary URL Fetch in !source/!load",
    "summary": "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.",
    "evidence": "osv:CVE-2026-13751",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-13751",
      "aliases": [
        "CVE-2026-13751"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/snowflakedb/snowflake-cli",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dcdffaef5269b093d15609d240ef3b72eceb5beb"
                },
                {
                  "fixed": "fc3762316a81defb89869ecfedbcde179f326d48"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:snowflake:snowflake_cli:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.1.0"
                      },
                      {
                        "fixed": "3.19.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.0.0-rc2",
            "dcm-prpr-20250804",
            "v2.7.0-rc0",
            "v2.3.0-rc0",
            "v2.2.0-rc0",
            "v2.1.0-rc0",
            "v2.0.0",
            "v2.0.0rc3",
            "v2.0.0rc2",
            "v2.0.0rc1",
            "na-preview",
            "v2.0.0rc0",
            "v2.0.0-alpha.3",
            "v2.0.0-alpha.2",
            "v2.0.0-alpha.1",
            "v1.1.0-rc1",
            "v1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13751.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.711220824Z",
      "provider": "osv",
      "references": [
        "https://community.snowflake.com/s/article/Snowflake-CLI-Vulnerability-Advisory",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13751.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-13751"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-829",
          "CWE-918"
        ],
        "cna_assigner": "SNOWFLAKE",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.6.0"
                  },
                  {
                    "fixed": "3.19.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13751.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-13751",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519441,
  "published_at": "2026-06-29T16:12:51.882+00:00"
}