# CVE-2024-49750: The Snowflake Connector for Python stores sensitive data in logs

Source: https://junglewise.ai/threats/cve-2024-49750-the-snowflake-connector-for-python-stores-sensitive-data-in-logs  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-10-24  
License: CC BY 4.0 with a link back

CVE-2024-49750 · Severity: low · CVSS 3.1 · Published 2024-10-24

The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Prior to version 3.12.3, when the logging level was set by the user to DEBUG, the Connector could have logged Duo passcodes (when specified via the `passcode` parameter) and Azure SAS tokens. Additionally, the SecretDetector logging formatter, if enabled, contained bugs which caused it to not fully redact JWT tokens and certain private key formats. Snowflake released version 3.12.3 of the Snowflake Connector for Python, which fixes the issue. In addition to upgrading, users should review their logs for any potentially sensitive information that may have been captured.

Technologies: [snowflake-connector-python (PyPI)](https://junglewise.ai/threats/technologies/snowflake-connector-python). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-49750 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-49750 being exploited in the wild.

**How severe is CVE-2024-49750?** Low severity, with a CVSS score of 3.1, published 24 October 2024.

**Which products and versions are affected?** snowflake-connector-python (PyPI) ECOSYSTEM:introduced=0,fixed=3.12.3, GIT:introduced=0,fixed=dbc9284a3c0382c131b971b35e8d6ab93c46f37a|ECOSYSTEM:introduced=0,fixed=3.12.3.

**Is there a fix for CVE-2024-49750?** Yes. snowflake-connector-python (PyPI): upgrade to 3.12.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-49750?** Check whether you run snowflake-connector-python (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- snowflake-connector-python (PyPI): upgrade to 3.12.3 or later

  ```sh
  pip install "snowflake-connector-python>=3.12.3"
  ```


## Affected products

- snowflake-connector-python (PyPI) ECOSYSTEM:introduced=0,fixed=3.12.3, GIT:introduced=0,fixed=dbc9284a3c0382c131b971b35e8d6ab93c46f37a|ECOSYSTEM:introduced=0,fixed=3.12.3

## Identifiers

- CVE-2024-49750
- GHSA-5vvg-pvhp-hv2m
- PYSEC-2024-191

## Related threats

- [Snowflake drivers sensitive information insertion in logs](https://junglewise.ai/threats/cve-2026-86597-snowflake-drivers-sensitive-information-insertion-in-logs)
- [Snowflake Connector for Python improper TLS hostname verification](https://junglewise.ai/threats/cve-2026-15925-snowflake-connector-for-python-improper-tls-hostname-verification)
- [PYSEC-2026-922 - snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)](https://junglewise.ai/threats/cve-2022-42965-snowflake-connector-python-is-vulnerable-to-regular-expression)
- [Snowflake Connector for Python SQL injection in write_pandas](https://junglewise.ai/threats/cve-2025-24793-snowflake-connector-for-python-sql-injection-in-write-pandas)
- [snowflake-connector-python vulnerable to insecure cache files permissions](https://junglewise.ai/threats/cve-2025-24795-snowflake-connector-python-vulnerable-to-insecure-cache-files)
