CVE-2026-13750: Snowflake CLI Plaintext Credential Leakage in Debug Logs
Snowflake CLI versions before 3.19 inadvertently write authentication credentials—including passwords, API tokens, and private keys—to unencrypted debug log files stored locally on a user's machine. An attacker who gains read access to these logs (either through local system compromise, misconfigured file permissions, or physical access) can extract valid credentials without needing to crack them. The risk is confined to users running affected versions who have active credentials in their CLI session. Upgrading to version 3.19 or later stops this leakage at the source.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-532
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-29 / 2026-06-30
NVD description (verbatim)
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.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability stems from improper handling of sensitive data in logging routines (CWE-532: Insertion of Sensitive Information into Log Files). Debug logs generated by Snowflake CLI store connection parameters and authentication material in plaintext to the local filesystem, typically in user-accessible directories. An attacker with local file system read permissions can enumerate these logs and extract credentials for Snowflake account access. The attack vector is local (AV:L), requires low privileges (PR:L) to read user-owned files, involves no user interaction (UI:N), and has no scope crossing (S:U). The impact is confidentiality loss (C:H) with no integrity or availability impact. Remediation requires manual upgrade to version 3.19, where sensitive credential fields are either redacted or excluded from debug output.
Business impact
Exposed Snowflake credentials can be used to authenticate against Snowflake accounts without the owner's knowledge, potentially granting attackers query and data exfiltration capabilities, view or modify sensitive datasets, trigger resource-intensive queries to impact billing, or pivot into downstream data pipelines. Organizations relying on Snowflake CLI for automation, data engineering, or administrative tasks face credential compromise risk if machines running the tool are not isolated or if log files are not routinely purged. The impact severity depends on the scope of affected Snowflake accounts and the sensitivity of data they contain.
Affected systems
Snowflake CLI versions prior to 3.19 are affected. This includes all releases up to and including version 3.18. Users on Windows, macOS, and Linux are equally at risk if they have not manually upgraded. The vulnerability does not affect Snowflake's cloud service itself, only the locally-installed CLI tool. Verify your installed version by running `snowflake --version` or checking your installation directory.
Exploitability
Exploitation requires an attacker to already possess local file system read access on the machine running the affected CLI version. This could arise through compromised user accounts, malware with file-read permissions, shared system access, or physical device access. The vulnerability is not remotely exploitable and does not require social engineering or user interaction. Once an attacker reads the log files, credential extraction is trivial. However, the attack is not currently known to be exploited in the wild, and no automated tools are publicly weaponized against this specific leakage pattern.
Remediation
Upgrade Snowflake CLI to version 3.19 or later immediately. The fix removes or redacts sensitive credential material from debug logs. After upgrading, purge or securely delete old log files from affected machines (typically located in ~/.snowflake/logs or equivalent platform-specific paths). Additionally, audit Snowflake account activity logs to detect any unauthorized access during the window in which credentials could have been exposed. Consider rotating any credentials that may have been logged on machines that were potentially compromised or accessible to untrusted parties.
Patch guidance
Visit the Snowflake CLI release page and download version 3.19 or later. Installation methods vary by platform: pip install --upgrade snowflake-cli on Python environments, native installers on Windows, or Homebrew on macOS (brew upgrade snowflake-cli). After installation, verify the version with `snowflake --version`. No configuration changes are required post-upgrade. If you use Snowflake CLI in automated workflows (CI/CD, scheduled scripts), ensure all deployment environments are updated, including development, staging, and production systems. Test upgraded versions in a non-production environment first to confirm compatibility with your workflows.
Detection guidance
Review local log directories on machines running Snowflake CLI (e.g., ~/.snowflake/logs, %APPDATA%\Snowflake\logs on Windows) for plaintext credentials or token-like patterns. Search logs for patterns matching common credential formats (e.g., 'password=', 'token=', 'private_key'). Correlate logs with Snowflake account audit trails to identify whether exposed credentials were used for unauthorized access. Endpoint detection and response (EDR) tools can flag processes spawning the Snowflake CLI with credential arguments. Monitor for repeated login attempts or API calls from unexpected source IPs in Snowflake audit logs, which may indicate credential reuse by an attacker.
Why prioritize this
While the CVSS score is moderate (5.5), the practical impact is significant for organizations with sensitive data in Snowflake. The vulnerability is straightforward to remediate (a single upgrade), and no complex workarounds are required. Prioritize patching machines where Snowflake CLI is used by data engineers, analysts, or DevOps teams—roles with access to high-value credentials. If your organization uses Snowflake CLI in containerized or ephemeral environments, the risk is lower (logs are typically discarded). However, persistent development machines and on-premises data integration servers should be patched within one week of confirming your environment is affected.
Risk score, explained
The CVSS 3.1 score of 5.5 (MEDIUM) reflects the local-only attack vector and requirement for existing file-system privileges, which limits exposure to machines already compromised or accessible to insiders. However, the high confidentiality impact (C:H) accounts for the plaintext exposure of authentication credentials, which are inherently high-value targets. The score does not account for downstream impact if exposed credentials are used to access sensitive Snowflake data; organizational context and data sensitivity should drive internal prioritization above the base score.
Frequently asked questions
How do I know if my Snowflake CLI is affected?
Run `snowflake --version` to check your installed version. Any version before 3.19 is vulnerable. If you installed via pip, run `pip show snowflake-cli` to see the installed version. If you are unsure where your CLI is installed, check your package manager or installation documentation for your operating system.
Do I need to rotate my Snowflake credentials even if no one has accessed my logs?
Yes, if your machine runs version 3.18 or earlier, treat credentials as potentially exposed and rotate them after upgrading to 3.19. Credentials logged to disk have a larger window of exposure than credentials in memory. Rotate passwords, API tokens, and refresh tokens used by the CLI. If you cannot confirm that no unauthorized parties accessed your logs, rotation is prudent regardless.
Will upgrading Snowflake CLI break my existing scripts or integrations?
Version 3.19 is designed to be backward-compatible with existing CLI commands and workflows. However, test the upgrade in a non-production environment first if your scripts heavily rely on specific CLI behavior or parsing of output. Review the Snowflake CLI release notes for version 3.19 to confirm no breaking changes affect your use case.
Is Snowflake's cloud service (the platform itself) affected by this vulnerability?
No, this vulnerability only affects the locally-installed Snowflake CLI tool. The Snowflake cloud service is not impacted. However, if an attacker obtains credentials from your CLI's logs, they could use those credentials to access your Snowflake account and data. Snowflake cloud service users who do not use the CLI are unaffected.
This analysis is based on the CVE-2026-13750 description and CVSS vector provided as of the publication date. Patch availability, version numbers, and remediation steps reference Snowflake's official advisory and release documentation; verify exact version compatibility and installation procedures against the vendor's official release notes. SEC.co does not provide warranty for the accuracy or completeness of remediation guidance; organizations should conduct internal testing before deploying patches to production systems. The absence of a CVE entry in CISA's Known Exploited Vulnerabilities (KEV) catalog does not guarantee the absence of active exploitation; monitor threat intelligence feeds for emerging exploit activity. This analysis does not constitute security or legal advice. Source: NVD (public-domain), retrieved 2026-08-08. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2025-46313MEDIUMmacOS Tahoe Logging Data Redaction Flaw
- CVE-2025-59868MEDIUMHCL Traveler for Microsoft Outlook Sensitive Data Exposure
- CVE-2026-0267MEDIUMPalo Alto GlobalProtect macOS Passcode Exposure Vulnerability
- CVE-2026-11819MEDIUMAnsible keyring_info Module Credential Disclosure Vulnerability
- CVE-2026-11820MEDIUMAnsible Nexmo Module Exposes API Credentials in Logs
- CVE-2026-12086MEDIUMIBM UrbanCode Deploy & DevOps Deploy Information Disclosure via Log Files
- CVE-2026-41184MEDIUMCalico ServiceAccount Token Exposure in CNI Logs
- CVE-2026-41185MEDIUMCalico Azure IPAM Plaintext Credential Logging Vulnerability