Skip to content
Heist/ feed
Back to feed
Low

Snowflake CLI SQL Injection Through Improper Neutralization of Local CLI Parameters

Type: advisorySources: OSV

Improper neutralization of local CLI parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. A user could trigger this issue by supplying crafted values to vulnerable Cortex SQL or object listing command paths, causing Snowflake CLI to execute unintended SQL in the context of that user's Snowflake session. Successful exploitation is constrained to self-injection because the vulnerable parameters were supplied directly through local CLI arguments rather than through project files, repositories, or other external input sources, and impact is limited to the privileges already available to the current session. 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-13746
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:39 UTC · Revision 1

Source evidence

Snowflake CLI SQL Injection Through Improper Neutralization of Local CLI Parameters

core-osv · Original source

Published 29 Jun 2026, 15:51 UTC

Improper neutralization of local CLI parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. A user could trigger this issue by supplying crafted values to vulnerable Cortex SQL or object listing command paths, causing Snowflake CLI to execute unintended SQL in the context of that user's Snowflake session. Successful exploitation is constrained to self-injection because the vulnerable parameters were supplied directly through local CLI arguments rather than through project files, repositories, or other external input sources, and impact is limited to the privileges already available to the current session. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.

osv:CVE-2026-13746
Complete source record
{
  "id": "233a85d0a86f18bd98aaa738f68cb6e16d788f43a9d4d3ae7e27307b7677bec0",
  "url": "https://osv.dev/vulnerability/CVE-2026-13746",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Snowflake CLI SQL Injection Through Improper Neutralization of Local CLI Parameters",
    "summary": "Improper neutralization of local CLI parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. A user could trigger this issue by supplying crafted values to vulnerable Cortex SQL or object listing command paths, causing Snowflake CLI to execute unintended SQL in the context of that user's Snowflake session. Successful exploitation is constrained to self-injection because the vulnerable parameters were supplied directly through local CLI arguments rather than through project files, repositories, or other external input sources, and impact is limited to the privileges already available to the current session. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.",
    "evidence": "osv:CVE-2026-13746",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-13746",
      "aliases": [
        "CVE-2026-13746"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/snowflakedb/snowflake-cli",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ac082923d81fdfff6eefcd760e583c51d107fd6c"
                },
                {
                  "fixed": "fc3762316a81defb89869ecfedbcde179f326d48"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:snowflake:snowflake_cli:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13746.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.820391906Z",
      "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-13746.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-13746"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "SNOWFLAKE",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.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-13746.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-13746",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513943,
  "published_at": "2026-06-29T15:51:57.399+00:00"
}