VDB
Sign up
MEDIUM5.9

PYSEC-2026-922

snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)

Quick fix

PYSEC-2026-922 — snowflake-connector-python: upgrade to the fixed version with the command below.

pip install --upgrade 'snowflake-connector-python>=2.8.2'

Details

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the snowflake-connector-python PyPI package, when an attacker is able to supply arbitrary input to the get_file_transfer_type method.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/snowflake-connector-python
Introduced in: 0Fixed in: 2.8.2
Fixpip install --upgrade 'snowflake-connector-python>=2.8.2'

References