Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Local filesystem read access and a low-privileged account are required; only confidentiality is impacted as credentials are exposed but no data is modified or made unavailable.
Primary rating from Vendor (SNOWFLAKE).
CVSS VectorVendor: SNOWFLAKE
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
2DescriptionCVE.org
Insertion of sensitive information into log files in Snowflake CLI versions prior to 3.19 allowed plaintext credentials to be written to persistent local debug logs. An attacker could exploit this by obtaining read access to the affected user's local log files, causing credentials such as passwords, tokens, or private key material to be exposed without additional application-level safeguards. Successful exploitation requires credentials to be present in the affected connection context and the resulting logs to be accessible from the local environment. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.
AnalysisAI
Snowflake CLI versions prior to 3.19 write plaintext credentials - including passwords, authentication tokens, and private key material - to persistent local debug log files due to CWE-532 (Insertion of Sensitive Information into Log File). Any local user account with read access to the affected user's log directory can harvest these credentials without needing application-level privileges. No active exploitation is confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis, but the confidentiality impact is rated high given that full credential material may be exposed.
Technical ContextAI
Snowflake CLI (CPE: cpe:2.3:a:snowflake:snowflake_cli:*:*:*:*:*:*:*:*) is a command-line interface for interacting with the Snowflake cloud data platform. It maintains persistent debug log files on the local filesystem. The root cause is CWE-532: the CLI does not sanitize or redact credential values from connection context objects before writing diagnostic data to these logs. Affected credential types include passwords, OAuth or session tokens, and private key material used for key-pair authentication - all of which may be present depending on the configured connection profile. Because log files are written to disk and persist across sessions, the exposure window extends beyond the CLI's runtime.
RemediationAI
Upgrade Snowflake CLI to version 3.19 or later; this is a manual upgrade and does not occur automatically. Per the description, version 3.19 is the vendor-released patch. Following upgrade, existing log files from prior versions should be located and deleted or securely wiped, as they may already contain plaintext credentials. On Linux/macOS, Snowflake CLI logs are typically found in ~/.snowflake/ or a platform-specific cache/log directory - users should audit these paths. If immediate upgrade is not possible, disable or reduce debug logging verbosity in the CLI configuration to limit credential capture; however, the exact configuration flag depends on CLI version and should be verified against Snowflake documentation. Additionally, rotate any credentials (passwords, tokens, private keys) that may have been logged, particularly in shared or multi-user environments. In CI/CD pipelines, ensure log artifact retention policies exclude Snowflake CLI debug output. The full advisory is at https://community.snowflake.com/s/article/Snowflake-CLI-Vulnerability-Advisory.
More in Snowflake Cli
View allArbitrary code execution in Snowflake CLI versions prior to 3.19 lets an attacker run code in the context of any develop
SQL injection in Snowflake CLI versions 1.2.2 through 3.18.x allows an attacker to execute unintended SQL statements wit
SQL injection in Snowflake CLI versions 1.1.0 through 3.18.x (fixed in 3.19) lets crafted parameter values reach vulnera
Server-side request forgery in Snowflake CLI versions 3.6.0 through 3.18.x lets an attacker coerce a victim's CLI sessio
Path traversal in Snowflake CLI versions prior to 3.19 enables arbitrary local file exfiltration to Snowflake cloud serv
Snowflake CLI versions prior to 3.19 permit self-injection SQL execution through improper neutralization of local CLI pa
Same technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-40137
GHSA-hrp8-4956-5gr5