{"schemaVersion":4,"id":"CVE-2026-123859","aliases":[],"status":"published","duplicateOf":null,"title":"SQL Injection via unescaped DataFrame column names in Snowflake Connector for Python and Snowflake Connector for Python (Universal Core)","description":"When identifier escaping is disabled through a non-default configuration, the write_pandas() data-loading functionality in the Snowflake Connector for Python and the Snowflake Connector for Python (Universal Core) did not escape DataFrame column names before including them in generated SQL, which could allow SQL injection. In both products, a crafted column name could have been used to chain additional SQL statements onto the generated statement, potentially allowing an attacker to read, modify, or delete other data accessible to the application's Snowflake role. Exploitation required an application to pass attacker controlled column names into this functionality. The fix is available in Snowflake Connector for Python version 4.8.1 and Snowflake Connector for Python (Universal Core) version 5.2.0. Users must upgrade manually.","dates":{"published":"2026-11-06T16:11:51.526Z","modified":"2026-11-06T16:45:01.480Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00374,"percentile":0.33379,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-07T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00374,"percentile":0.33379}],"last30":[{"date":"2026-11-07T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00374,"percentile":0.33379}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"snowflake","product":"snowflake connector for python","name":"Snowflake Connector for Python","label":"snowflake connector for python","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.3.4, < 4.8.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.3.4","startInclusive":true,"end":"4.8.1","endInclusive":false}}],"versionsText":"≥ 2.3.4, < 4.8.1","eol":null,"hubHref":"/vendor/snowflake/snowflake_connector_for_python"},{"vendor":"snowflake","product":"snowflake connector for python (universal core)","name":"Snowflake Connector for Python (Universal Core)","label":"snowflake connector for python (universal core)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.0b1, < 5.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0b1","startInclusive":true,"end":"5.2.0","endInclusive":false}}],"versionsText":"≥ 5.0.0b1, < 5.2.0","eol":null,"hubHref":"/vendor/snowflake/snowflake_connector_for_python_universal_core"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-481-oct-26-2026","label":"docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026","hostname":"docs.snowflake.com","tags":[]},{"url":"https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-520-nov-4-2026","label":"docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026","hostname":"docs.snowflake.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-06T16:11:51.526Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-06T16:45:01.480Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,0,81],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00374,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-06T16:45:01.480Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-06T16:45:01.480Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-06T16:43:26.090Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00374,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T11:16:59.273Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T11:16:59.802Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T11:16:59.995Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T11:01:01.512Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T11:16:57.726Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T11:16:56.764Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T11:27:59.877Z","stale":false,"partial":false}}