Vulnerabilities in pkg:pypi/apache-airflow-providers-snowflake
PACKAGECVE-2025-50213 is a CRITICAL (CVSS 9.8) apache airflow providers snowflake package vulnerability (CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)) affecting Apache airflow providers snowflake libraries in the PyPI ecosystem. The issue involves apache airflow providers snowflake package allows for special element injection via copyfromexternalstagetosnowflakeoperator. Remediation is available by upgrading affected packages to version 6.4.0.
pkg:pypi/apache-airflow-providers-snowflake
Vulnerability advisories affecting package pkg:pypi/apache-airflow-providers-snowflake. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-9r64-3wmc-x8m8 | CVE-2025-50213 | CRITICAL | Apache Airflow Providers Snowflake package allows for Special Element Injection via CopyFromExternalStageToSnowflakeOperator |
CVE-2025-50213 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-50213
To remediate this vulnerability, upgrade all affected Apache airflow providers snowflake dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-airflow-providers-snowflake>=6.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow-providers-snowflake
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-50213, inspect your installed packages using pip:
pip show apache-airflow-providers-snowflake
Analyze the terminal output to locate any version of Apache airflow providers snowflake in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.4.0), your application is affected.
Note: The pip show apache-airflow-providers-snowflake command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection), where the product does not adequately filter user-controlled input for special elements with control implications. In Apache airflow providers snowflake, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-50213 Affected Apache airflow providers snowflake Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow-providers-snowflake
|
PyPI |
< 6.4.0
|
6.4.0
|
References
Frequently Asked Questions
What is CVE-2025-50213?
Which Apache airflow providers snowflake versions are affected?
What version fixes CVE-2025-50213?
Is apache-airflow-providers-snowflake affected?
What is the CVSS score of CVE-2025-50213?
What CWE is associated with CVE-2025-50213?
How can I check PyPI dependencies for CVE-2025-50213?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9r64-3wmc-x8m8",
"modified" : "2025-06-27T21:15:56Z",
"published" : "2025-06-26T21:31:04Z",
"aliases" : [ "CVE-2025-50213" ],
"summary" : "Apache Airflow Providers Snowflake package allows for Special Element Injection via CopyFromExternalStageToSnowflakeOperator",
"details" : "Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) vulnerability in Apache Airflow Providers Snowflake.\n\nThis issue affects Apache Airflow Providers Snowflake: before 6.4.0.\n\nSanitation of table and stage parameters were added in CopyFromExternalStageToSnowflakeOperator to prevent SQL injection\nUsers are recommended to upgrade to version 6.4.0, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow-providers-snowflake"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-50213"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/51734"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/51734/commits/bcf19916738e4a7065a3911814ba1fa32d6fd669"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-snowflake/PYSEC-2025-51.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/2kqfmyt2pghg5f6797g8hzvq331v8qx3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-75" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-27T21:15:56Z",
"nvd_published_at" : "2025-06-24T08:15:24Z"
}
}