{"id":"CVE-2025-24793","aliases":["CVE-2025-24793","GHSA-2vpq-fh52-j3wv","PYSEC-2025-26"],"related":[],"kind":"vulnerability","state":"published","title":"Snowflake Connector for Python has an SQL Injection in write_pandas","summary":"The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. A function from the snowflake.connector.pandas_tools module is vulnerable to SQL injection. This vulnerability affects versions 2.2.5 through 3.13.0. Snowflake fixed the issue in version 3.13.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. A function from the snowflake.connector.pandas_tools module is vulnerable to SQL injection. This vulnerability affects versions 2.2.5 through 3.13.0. Snowflake fixed the issue in version 3.13.1.","source":"cvelist"},{"lang":"en","text":"### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. A function from the snowflake.connector.pandas_tools module is vulnerable to SQL injection.\n\nThis vulnerability affects versions 2.2.5 through 3.13.0. Snowflake fixed the issue in version 3.13.1.\n\n### Vulnerability Details\nA function from the snowflake.connector.pandas_tools module is not sanitizing all of its arguments, and queries using them are not parametrized. An attacker controlling these arguments could achieve SQL injection by passing crafted input. Any SQL executed that way by an attacker would still run in the context of the current session.\n\n### Solution\nSnowflake released version 3.13.1 of the Snowflake Connector for Python, which fixes this issue. We recommend users upgrade to version 3.13.1.\n\n### Additional Information\nIf you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Snowflake Connector para Python proporciona una interfaz para desarrollar aplicaciones Python que se pueden conectar a Snowflake y realizar todas las operaciones estándar. Snowflake descubrió y solucionó una vulnerabilidad en el conector Snowflake para Python. Una función del módulo snowflake.connector.pandas_tools es vulnerable a la inyección SQL. Esta vulnerabilidad afecta a las versiones 2.2.5 a 3.13.0. Snowflake solucionó el problema en la versión 3.13.1.","source":"nvd"}],"published":"2025-01-29T20:23:02.227Z","modified":"2026-09-10T03:50:21.789Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":">= 2.2.5, < 3.13.1","status":"affected"}],"vendor":"snowflakedb","product":"snowflake-connector-python","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.2.5","status":"affected","fixed":"3.13.1"}],"ecosystem":"PyPI","package":"snowflake-connector-python","purl":"pkg:pypi/snowflake-connector-python","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.2.5","fixed":"3.13.1"}],"vendor":"snowflake","product":"snowflake_connector","cpe":"cpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"f3f9b666518d29c31a49384bbaa9a65889e72056"},{"type":"ecosystem","introduced":"2.2.5","status":"affected","fixed":"3.13.1"}],"ecosystem":"PyPI","package":"snowflake-connector-python","purl":"pkg:pypi/snowflake-connector-python","repo":"https://github.com/snowflakedb/snowflake-connector-python","source":"pysec"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-2vpq-fh52-j3wv","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/f3f9b666518d29c31a49384bbaa9a65889e72056","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24793","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-26.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-01-31T16:53:59.700Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24793","url":"https://www.cve.org/CVERecord?id=CVE-2025-24793","licence":"CVE Terms of Use","modified":"2025-01-31T16:54:16.113Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2vpq-fh52-j3wv","url":"https://github.com/advisories/GHSA-2vpq-fh52-j3wv","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:21.789Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24793","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24793","licence":"Public domain","modified":"2026-06-17T08:59:37.193Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-26","url":"https://osv.dev/vulnerability/PYSEC-2025-26","licence":"CC-BY-4.0","modified":"2025-04-09T17:59:21.846Z"}],"updatedAt":"2026-11-25T22:58:53.671Z","epss":{"score":0.00307,"percentile":0.25356,"date":"2026-12-01T12:00:22.000Z"}}