PYSEC-2026-3921

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/snowflake-sqlalchemy/PYSEC-2026-3921.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-3921
Aliases
Published
2026-09-10T09:44:50Z
Modified
2026-09-10T12:15:11Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
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

Affected packages

PyPI / snowflake-sqlalchemy

Package

Name
snowflake-sqlalchemy
View open source insights on deps.dev
Purl
pkg:pypi/snowflake-sqlalchemy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.1.6
Fixed
1.11.0

Affected versions

1.*
1.1.6
1.1.9
1.1.10
1.1.11
1.1.12
1.1.13
1.1.14
1.1.15
1.1.16
1.1.17
1.1.18
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.3.1
1.3.2
1.3.3
1.3.4
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.5.0
1.5.1
1.5.2
1.5.3
1.6.1
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
1.7.7
1.8.0
1.8.2
1.9.0
1.10.0
1.10.1
1.10.2

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/snowflake-sqlalchemy/PYSEC-2026-3921.yaml"