CVE-2025-50213: Apache Airflow Providers Snowflake package allows for Special Element Injection via CopyFromExternalStageToSnowflakeOperator
Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) vulnerability in Apache Airflow Providers Snowflake. This issue affects Apache Airflow Providers Snowflake: before 6.4.0. Sanitation of table and stage parameters were added in CopyFromExternalStageToSnowflakeOperator to prevent SQL injection Users are recommended to upgrade to version 6.4.0, which fixes the issue.
Published Jun 26, 2025 · Updated Jun 27, 2025
Affected packages
apache-airflow-providers-snowflake
- Ecosystem
- PyPI
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
pip show apache-airflow-providers-snowflake
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) vulnerability in Apache Airflow Providers Snowflake.
This issue affects Apache Airflow Providers Snowflake: before 6.4.0.
Sanitation of table and stage parameters were added in CopyFromExternalStageToSnowflakeOperator to prevent SQL injection Users are recommended to upgrade to version 6.4.0, which fixes the issue.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-50213
- https://github.com/apache/airflow/pull/51734
- https://lists.apache.org/thread/2kqfmyt2pghg5f6797g8hzvq331v8qx3
- https://github.com/apache/airflow/pull/51734/commits/bcf19916738e4a7065a3911814ba1fa32d6fd669
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-snowflake/PYSEC-2025-51.yaml
- https://github.com/advisories/GHSA-9r64-3wmc-x8m8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
