Skip to content
High 8.1

Snowflake Connector for Pythonに SQLインジェクションの脆弱性 データの読み書き・削除のおそれ

CVE-2026-123859 First seen on SecPulse

Summary

write_pandas()でDataFrameの列名がエスケープされず、悪意のある列名で追加のSQL文を実行されるおそれがあります。Snowflake Connector for Pythonは4.8.1より前の版、Universal Coreは5.2.0より前の版が影響を受けます。修正版は、Snowflake Connector for Pythonが4.8.1、Universal Coreが5.2.0で、利用者が手動でアップグレードする必要があります。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

write_pandas()でDataFrameの列名がエスケープされず、悪意のある列名で追加のSQL文を実行されるおそれがあります。Snowflake Connector for Pythonは4.8.1より前の版、Universal Coreは5.2.0より前の版が影響を受けます。修正版は、Snowflake Connector for Pythonが4.8.1、Universal Coreが5.2.0で、利用者が手動でアップグレードする必要があります。

Affected packages

PackageAffected → Fixed
SnowflakeSnowflake Connector for Python
≥ 2.3.4, < 4.8.1→ 4.8.1
SnowflakeSnowflake Connector for Python (Universal Core)
≥ 5.0.0b1, < 5.2.0→ 5.2.0
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details