1. Archivio CVE
  2. 2026
  3. CVE-2026-140448

CVE-2026-140448

8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H 8 – Alta

Descrizione

Improper path matching in Snowflake CLI & Snowflake CLI labs versions prior to 3.33.0 caused the snow stage execute and snow git execute commands to select files by raw string prefix rather than by directory boundary. When a directory path was given without a trailing slash, files in sibling locations whose names began with the same characters were also selected and executed. An attacker who can write files to a sibling location of a stage directory that a victim executes can cause Snowflake CLI & Snowflake CLI labs to execute attacker-controlled SQL or Python files in the context of the victim's Snowflake session and active role. Successful exploitation requires write access to a stage, or to the cloud storage location backing an external stage, that is shared with a more privileged user or automation, and requires the victim to run snow stage execute or snow git execute against a directory path in that stage. Impact is limited by the privileges held by the configured Snowflake role at execution time. The fix is available in Snowflake CLI & Snowflake CLI labs version 3.33.0, which also addresses several additional security findings. Users must manually upgrade.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
snowflake snowflake cli < 3.33.0 –
snowflake snowflake cli labs < 3.33.0 –
Tutte le 9 vulnerabilità di Snowflake Cli

Tipo di vulnerabilità

CWE-187 Partial String Comparison

The product performs a string comparison that only examines a portion of the string before determining whether there is a match.

Impatto sui sistemi

AmbitoImpatto
Integrità, Controllo degli accessi Alterare la logica di esecuzione, Aggirare i meccanismi di protezione

Come si previene

Test Thoroughly test the comparison scheme before deploying code into production. Perform positive testing as well as negative testing.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 19 CVE di tipo CWE-187, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org