Skip to content
Heist/ feed
Back to feed
Medium

Snowflake CLI SQL Injection Through Improper Neutralization of Parameters in Secret Creation and SPCS Service Log Commands

Type: advisorySources: OSV

Improper neutralization of parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. An attacker could exploit this by supplying crafted values to vulnerable command paths, causing Snowflake CLI to execute unintended SQL in the context of the user’s Snowflake session. Successful exploitation required crafted values to reach vulnerable parameters, including through socially engineered input, malicious repository configuration, or compromised automation feeding external values into the CLI, and impact is limited by the privileges assigned to the active 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-13752
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:46 UTC · Revision 1

Source evidence

Snowflake CLI SQL Injection Through Improper Neutralization of Parameters in Secret Creation and SPCS Service Log Commands

core-osv · Original source

Published 29 Jun 2026, 16:24 UTC

Improper neutralization of parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. An attacker could exploit this by supplying crafted values to vulnerable command paths, causing Snowflake CLI to execute unintended SQL in the context of the user’s Snowflake session. Successful exploitation required crafted values to reach vulnerable parameters, including through socially engineered input, malicious repository configuration, or compromised automation feeding external values into the CLI, and impact is limited by the privileges assigned to the active session. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.

osv:CVE-2026-13752
Complete source record
{
  "id": "41346eb49528ea911fb94f9e23250be8fc5a6529144ebfafe39ceca55fe70e40",
  "url": "https://osv.dev/vulnerability/CVE-2026-13752",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Snowflake CLI SQL Injection Through Improper Neutralization of Parameters in Secret Creation and SPCS Service Log Commands",
    "summary": "Improper neutralization of parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. An attacker could exploit this by supplying crafted values to vulnerable command paths, causing Snowflake CLI to execute unintended SQL in the context of the user’s Snowflake session. Successful exploitation required crafted values to reach vulnerable parameters, including through socially engineered input, malicious repository configuration, or compromised automation feeding external values into the CLI, and impact is limited by the privileges assigned to the active session. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.",
    "evidence": "osv:CVE-2026-13752",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-13752",
      "aliases": [
        "CVE-2026-13752"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/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-13752.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.784126729Z",
      "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-13752.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-13752"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "SNOWFLAKE",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.1.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-13752.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-13752",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493506,
  "published_at": "2026-06-29T16:24:03.617+00:00"
}