Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-140448— Improper Path Matching in Snowflake CLI Versions Allows Execution of Stage Files Outside the Requested Directory

Quick assessment

Affected
Snowflake Snowflake CLI
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Snowflake CLI 与 Snowflake CLI labs 在 3.33.0 之前的版本中存在不当的路径匹配问题: 和 命令按原始字符串前缀而非目录边界来选择文件。当给定目录路径时如果缺少结尾的斜杠,同级位置中以相同字符开头的文件也会被选中并执行。 如果攻击者可以写入被受害者执行的 stage 目录的同级位置,就可以使 Snowflake CLI 与 Snowflake CLI labs 在受害者 Snowflake 会话及其当前活动角色的上下文中执行攻击者控制的 SQL 或 Python 文件。成功利用

CVSS 8.0 · High EPSS 0.73% · P56
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-140448

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper Path Matching in Snowflake CLI Versions Allows Execution of Stage Files Outside the Requested Directory
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
部分比较
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Snowflake Snowflake CLI 0 ~ 3.33.0 -
Snowflake Snowflake CLI Labs 0 ~ 3.33.0 -

II. Public POCs for CVE-2026-140448

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-140448

请登录查看更多情报信息。

Other References for CVE-2026-140448 (1)

IV. Related Vulnerabilities