8.3high
Multiple SQL/DDL Injection and Arbitrary File Read Vulnerabilities in snowflake-sqlalchemy
- Severity
- 8.3high CVSS:3.1 by SNOWFLAKE
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- SNOWFLAKE
- Also known as
- GHSA-8g6f-qw9x-4q6qPYSEC-2026-3921
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Snowflake Snowflake SQLAlchemy | from 1.1.6 before 1.11.0 | CVE List |
| snowflake-sqlalchemy (PyPI) | from 1.1.6 before 1.11.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| SNOWFLAKE | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| GitHub | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| PyPA Advisory Database | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
Classification
What each source says
CVE List
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.
NVD (es)
Las versiones de Snowflake SQLAlchemy anteriores a la 1.11.0 contienen varias vulnerabilidades de seguridad, incluyendo: El manejo inadecuado de identificadores de columna proporcionados por el usuario en operaciones de fusión podría permitir inyección SQL a través de claves de entrada controladas por el atacante. Un atacante podría explotar esto a través de nombres de campos de solicitud en un endpoint de upsert dinámico, potencialmente habilitando el acceso de lectura a datos visibles para el rol de base de datos de la aplicación o la modificación de valores dentro de la misma sentencia MERGE. El renderizado literal inadecuado de parámetros vinculados al construir ciertas consultas de creación de tablas específicas de Snowflake podría permitir inyección SQL. Un atacante podría explotar esto suministrando una cadena manipulada a cualquier endpoint de aplicación que pasa datos controlados por el usuario a través de la API de construcción de consultas afectada, potencialmente causando la exfiltración arbitraria de datos dentro del alcance del rol de conexión. El reenvío inadecuado de parámetros de configuración de conexión podría permitir a un atacante hacer que la biblioteca lea archivos locales arbitrarios y transmita su contenido a un endpoint controlado por el atacante. Un atacante podría explotar esto en entornos de despliegue que aceptan parámetros de conexión controlados por el usuario, potencialmente exponiendo archivos sensibles accesibles al proceso de la aplicación. La solución está disponible en la versión 1.11.0 de Snowflake SQLAlchemy. Los usuarios deben actualizar manualmente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15736 changed 2026-07-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8g6f-qw9x-4q6q changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-15736 changed 2026-10-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3921 changed 2026-09-10 | CC-BY-4.0 |