CVE-2025-50213: Apache Airflow Providers Snowflake: Potential SQL injection in CopyFromExternalStageToSnowflakeOperator
| Severity | Low |
|---|---|
| Affects | apache-airflow-providers-snowflake |
| Weakness | CWE-75 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) |
| Published | June 24, 2025 |
| CVE record | CVE-2025-50213 on cve.org |
Description
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.
Affected versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow Providers Snowflake | apache-airflow-providers-snowflake |
before 6.4.0 |
Credits
- Nhien Pham (@nhienit) at Galaxy One (finder)
References
- https://github.com/apache/airflow/pull/51734 (patch)
- https://lists.apache.org/thread/2kqfmyt2pghg5f6797g8hzvq331v8qx3 (vendor-advisory)