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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **CWE:** CWE-532
- **Aliases:** GHSA-5vvg-pvhp-hv2m, PYSEC-2024-191
- **Published:** 2024-10-24T22:03:06.539Z
- **Modified:** 2026-09-10T03:50:19.275Z

## Who should check

- Projects that depend on PyPI package snowflake-connector-python (\< 3.12.3)
- Anyone running snowflakedb snowflake-connector-python \< 3.12.3

## Description

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.

## Affected and fixed versions

- PyPI `snowflake-connector-python`: affected \< 3.12.3; fixed 3.12.3 (osv)
- snowflakedb snowflake-connector-python: \< 3.12.3 (cvelist)

## Mitigation

- Upgrade snowflake-connector-python to 3.12.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-49750. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49750.md
Affected: snowflake-connector-python < 3.12.3
Fixed in: 3.12.3

Steps:
1. Search this machine and project for snowflake-connector-python (PyPI), snowflakedb snowflake-connector-python: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-49750 being exploited?

There is no confirmed exploitation: CVE-2024-49750 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-49750?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-49750?

snowflake-connector-python \< 3.12.3.

### Is there a fix for CVE-2024-49750?

Yes. Fixed in 3.12.3. Upgrade snowflake-connector-python to 3.12.3 or later.

### How do I check if I'm affected by CVE-2024-49750?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-5vvg-pvhp-hv2m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-49750>
- patch: <https://github.com/snowflakedb/snowflake-connector-python/commit/dbc9284a3c0382c131b971b35e8d6ab93c46f37a>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2024-191.yaml>
- other: <https://github.com/snowflakedb/snowflake-connector-python>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-49750>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5vvg-pvhp-hv2m> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2024-191> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-49750> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-49750>
