PYSEC-2026-3921
Dashboard / Vulnerabilities / PYSEC-2026-3921
PYSEC-2026-3921
Summary: Snowflake SQLAlchemy affected by SQL injection and local file disclosure vulnerabilities
Details: Snowflake SQLAlchemy versions prior to 1.11.0 contain several security vulnerabilities, including: Improper handling of user-supplied column identifiers in merge operations could allow SQL injection through attacker-controlled input keys. An attacker may be able to exploit this through request field names in a dynamic upsert endpoint, potentially enabling read access to data visible to the application's database role or modification of values within the same MERGE statement. Improper literal rendering of bound parameters when building certain Snowflake-specific table creation queries could allow SQL injection. An attacker may be able to exploit this by supplying a crafted string to any application endpoint that passes user-controlled data through the affected query-building API, potentially causing arbitrary data exfiltration within the scope of the connection role. Improper forwarding of connection configuration parameters could allow an attacker to cause the library to read arbitrary local files and transmit their contents to an attacker-controlled endpoint. An attacker may be able to exploit this in deployment environments that accept user-controlled connection parameters, potentially exposing sensitive files accessible to the application process. The fix is available in Snowflake SQLAlchemy version 1.11.0. Users must manually upgrade.
References: https://nvd.nist.gov/vuln/detail/CVE-2026-15736, https://github.com/snowflakedb/snowflake-sqlalchemy/pull/707, https://github.com/snowflakedb/snowflake-sqlalchemy/pull/708, https://github.com/snowflakedb/snowflake-sqlalchemy/pull/710, https://github.com/snowflakedb/snowflake-sqlalchemy/commit/2c33792c91449e746a2c7ef24c25f0ede0a4a875, https://github.com/snowflakedb/snowflake-sqlalchemy/commit/35edf4dc5e76b9a9fdfa74c8e4f6fd14642110f1, https://github.com/snowflakedb/snowflake-sqlalchemy/commit/a198ed2197bb3e0be57268032ed6e8b7fdeb8129, https://github.com/snowflakedb/snowflake-sqlalchemy, https://github.com/snowflakedb/snowflake-sqlalchemy/releases, https://github.com/snowflakedb/snowflake-sqlalchemy/releases/tag/v1.11.0, https://pypi.org/project/snowflake-sqlalchemy, https://github.com/advisories/GHSA-8g6f-qw9x-4q6q
Affected packages
Package
Name: snowflake-sqlalchemy
Purl: pkg:pypi/snowflake-sqlalchemy
Affected ranges
Type: ECOSYSTEM
Events:
