Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-13748
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:16 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 29 Jun 2026, 15:58 UTC

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.

osv:CVE-2026-13748
Complete source record
{
  "id": "98a47c5f4c8a999242b1b95a83c6f7087d499afeaeea3142ce2cacd89dbf5691",
  "url": "https://osv.dev/vulnerability/CVE-2026-13748",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Snowflake CLI Arbitrary Local File Read and Exfiltration Through Improper File Path Restriction",
    "summary": "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.",
    "evidence": "osv:CVE-2026-13748",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-13748",
      "aliases": [
        "CVE-2026-13748"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/snowflakedb/snowflake-cli",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5992808f98521e20430b04c6028133a62b2bff26"
                },
                {
                  "fixed": "fc3762316a81defb89869ecfedbcde179f326d48"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:snowflake:snowflake_cli:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.2.2"
                      },
                      {
                        "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",
            "v1.0.1-rc2",
            "v1.0.1",
            "v1.0.1-rc1",
            "v1.0.0",
            "v0.2.9",
            "v0.2.8",
            "v0.2.7",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13748.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.604138047Z",
      "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-13748.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-13748"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22",
          "CWE-61",
          "CWE-73"
        ],
        "cna_assigner": "SNOWFLAKE",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.2.2"
                  },
                  {
                    "fixed": "3.19.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13748.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-13748",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496734,
  "published_at": "2026-06-29T15:58:00.158+00:00"
}