# CVE-2025-50213: Apache Airflow Providers Snowflake: Potential SQL injection in CopyFromExternalStageToSnowflakeOperator

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2025-06-24T07:06:53.128Z
- Modified: 2026-06-17T09:34:58.330Z
- Also known as: GHSA-9r64-3wmc-x8m8, PYSEC-2025-51
- Weaknesses: CWE-75
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- apache-airflow-providers-snowflake: before 6.4.0
- apache-airflow-providers-snowflake (PyPI): before 6.4.0
- apache apache-airflow-providers-snowflake: before 6.4.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/apache/airflow/pull/51734> (issue-tracking, patch, web)
- <https://lists.apache.org/thread/2kqfmyt2pghg5f6797g8hzvq331v8qx3> (mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-50213> (advisory)
- <https://github.com/apache/airflow/pull/51734/commits/bcf19916738e4a7065a3911814ba1fa32d6fd669> (web)
- <https://github.com/apache/airflow> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-snowflake/PYSEC-2025-51.yaml> (web)
- <https://github.com/advisories/GHSA-9r64-3wmc-x8m8> (advisory)

## Sources

- CVE List: [CVE-2025-50213](https://www.cve.org/CVERecord?id=CVE-2025-50213), CVE Terms of Use, modified 2025-06-24
- GitHub Advisory Database: [GHSA-9r64-3wmc-x8m8](https://github.com/advisories/GHSA-9r64-3wmc-x8m8), CC-BY-4.0, modified 2025-06-27
- NVD: [CVE-2025-50213](https://nvd.nist.gov/vuln/detail/CVE-2025-50213), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-51](https://osv.dev/vulnerability/PYSEC-2025-51), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-50213 · Whole record: https://cve.day/CVE-2025-50213.json · Rebuilt by cve.day 2026-11-25T22:58:59.558Z
