{"id":"CVE-2025-50213","aliases":["EUVD-2025-19239","GHSA-9r64-3wmc-x8m8","PYSEC-2025-51","ROOT-APP-PYPI-CVE-2025-50213"],"status":"published","title":"Apache Airflow Providers Snowflake: Potential SQL injection in CopyFromExternalStageToSnowflakeOperator","description":"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":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00774,"percentile":0.56185,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-75"],"published":"2025-06-24T07:06:53Z","modified":"2026-10-28T02:30:56Z","fixes":[{"ecosystem":"PyPI","package":"apache-airflow-providers-snowflake","fixed_in":["6.4.0"],"sources":["ghsa","osv"]},{"ecosystem":"Root:PyPI","package":"rootio-apache-airflow-providers-snowflake","fixed_in":["6.3.1+root.io.1","5.8.0+root.io.1","5.8.0+root.io.2","6.3.1+root.io.2"],"sources":["osv"]},{"ecosystem":"Root:PyPI","package":"apache-airflow-providers-snowflake","fixed_in":["5.8.0+aikido.2","6.3.1+aikido.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"apache-airflow-providers-snowflake","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"apache-airflow-providers-snowflake","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.0"}]}],"versions":["1.0.0","1.0.0b1","1.0.0b2","1.0.0rc1","1.1.0","1.1.0rc1","1.1.1","1.1.1rc1","1.1.1rc2","1.2.0","1.2.0rc1","1.3.0","1.3.0rc1","2.0.0","2.0.0rc1","2.0.0rc2","2.0.0rc3","2.1.0","2.1.0rc1","2.1.0rc2","2.1.1","2.1.1rc1","2.2.0","2.2.0rc1","2.3.0","2.3.0rc1","2.3.1","2.3.1rc1","2.4.0","2.4.0rc1","2.5.0","2.5.0rc1","2.5.0rc2","2.5.1","2.5.1rc1","2.5.2","2.5.2rc1","2.6.0","2.6.0rc1","2.7.0","2.7.0rc1","3.0.0","3.0.0rc1","3.0.0rc2","3.1.0","3.1.0rc1","3.2.0","3.2.0rc1","3.2.0rc2","3.2.0rc3","3.3.0","3.3.0rc1","4.0.0","4.0.0rc1","4.0.1","4.0.1rc2","4.0.1rc3","4.0.2","4.0.2rc1","4.0.3","4.0.3rc1","4.0.4","4.0.4rc1","4.0.5","4.0.5rc1","4.1.0","4.1.0rc1","4.1.0rc2","4.2.0","4.2.0rc1","4.3.0","4.3.0rc2","4.3.1","4.3.1rc1","4.4.0","4.4.0rc1","4.4.1","4.4.1rc1","4.4.2","4.4.2rc1","5.0.0","5.0.0rc1","5.0.1","5.0.1rc1","5.1.0","5.1.0rc1","5.1.1","5.1.1rc1","5.1.2","5.1.2rc1","5.2.0","5.2.0rc1","5.2.1","5.2.1rc1","5.3.0","5.3.0rc1","5.3.0rc2","5.3.1","5.3.1rc1","5.4.0","5.4.0rc1","5.5.0","5.5.0rc1","5.5.1","5.5.1rc1","5.5.2","5.5.2rc1","5.6.0","5.6.0rc1","5.6.1","5.6.1rc1","5.7.0","5.7.0rc1","5.7.1","5.7.1rc1","5.8.0","5.8.0rc1","5.8.1","5.8.1rc1","6.0.0","6.0.0rc1","6.0.0rc2","6.1.0","6.1.0rc1","6.1.1","6.1.1rc1","6.2.0","6.2.0rc1","6.2.1","6.2.1rc1","6.2.2","6.2.2rc1","6.3.0","6.3.0rc1","6.3.0rc2","6.3.1","6.3.1rc1","6.4.0rc1"]},{"source":"osv","ecosystem":"PyPI","package":"apache-airflow-providers-snowflake","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.0"}]}],"versions":["1.0.0","1.0.0b1","1.0.0b2","1.0.0rc1","1.1.0","1.1.0rc1","1.1.1","1.1.1rc1","1.1.1rc2","1.2.0","1.2.0rc1","1.3.0","1.3.0rc1","2.0.0","2.0.0rc1","2.0.0rc2","2.0.0rc3","2.1.0","2.1.0rc1","2.1.0rc2","2.1.1","2.1.1rc1","2.2.0","2.2.0rc1","2.3.0","2.3.0rc1","2.3.1","2.3.1rc1","2.4.0","2.4.0rc1","2.5.0","2.5.0rc1","2.5.0rc2","2.5.1","2.5.1rc1","2.5.2","2.5.2rc1","2.6.0","2.6.0rc1","2.7.0","2.7.0rc1","3.0.0","3.0.0rc1","3.0.0rc2","3.1.0","3.1.0rc1","3.2.0","3.2.0rc1","3.2.0rc2","3.2.0rc3","3.3.0","3.3.0rc1","4.0.0","4.0.0rc1","4.0.1","4.0.1rc2","4.0.1rc3","4.0.2","4.0.2rc1","4.0.3","4.0.3rc1","4.0.4","4.0.4rc1","4.0.5","4.0.5rc1","4.1.0","4.1.0rc1","4.1.0rc2","4.2.0","4.2.0rc1","4.3.0","4.3.0rc2","4.3.1","4.3.1rc1","4.4.0","4.4.0rc1","4.4.1","4.4.1rc1","4.4.2","4.4.2rc1","5.0.0","5.0.0rc1","5.0.1","5.0.1rc1","5.1.0","5.1.0rc1","5.1.1","5.1.1rc1","5.1.2","5.1.2rc1","5.2.0","5.2.0rc1","5.2.1","5.2.1rc1","5.3.0","5.3.0rc1","5.3.0rc2","5.3.1","5.3.1rc1","5.4.0","5.4.0rc1","5.5.0","5.5.0rc1","5.5.1","5.5.1rc1","5.5.2","5.5.2rc1","5.6.0","5.6.0rc1","5.6.1","5.6.1rc1","5.7.0","5.7.0rc1","5.7.1","5.7.1rc1","5.8.0","5.8.0rc1","5.8.1","5.8.1rc1","6.0.0","6.0.0rc1","6.0.0rc2","6.1.0","6.1.0rc1","6.1.1","6.1.1rc1","6.2.0","6.2.0rc1","6.2.1","6.2.1rc1","6.2.2","6.2.2rc1","6.3.0","6.3.0rc1","6.3.0rc2","6.3.1","6.3.1rc1","6.4.0rc1"]},{"source":"osv","ecosystem":"Root:PyPI","package":"rootio-apache-airflow-providers-snowflake","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.1+root.io.1"},{"fixed":"5.8.0+root.io.1"},{"fixed":"5.8.0+root.io.2"},{"fixed":"6.3.1+root.io.2"}]}]},{"source":"osv","ecosystem":"Root:PyPI","package":"apache-airflow-providers-snowflake","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.0+aikido.2"},{"fixed":"6.3.1+aikido.2"}]}]}],"products":[{"vendor":"apache","product":"apache-airflow-providers-snowflake"},{"vendor":"apache software foundation","product":"apache airflow providers snowflake"}],"references":[{"url":"https://github.com/apache/airflow/pull/51734","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://lists.apache.org/thread/2kqfmyt2pghg5f6797g8hzvq331v8qx3","tags":["vendor-advisory","Mailing List","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50213","tags":["advisory"]},{"url":"https://github.com/apache/airflow/pull/51734/commits/bcf19916738e4a7065a3911814ba1fa32d6fd669","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-snowflake/PYSEC-2025-51.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9r64-3wmc-x8m8","tags":["advisory"]},{"url":"https://pypi.python.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50213.json","tags":["advisory"]},{"url":"https://github.com/apache/airflow","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-50213","title":"Apache Airflow Providers Snowflake: Potential SQL injection in CopyFromExternalStageToSnowflakeOperator","description":"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.","status":"published","published":"2025-06-24T07:06:53.128Z","modified":"2025-06-24T18:03:35.296Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-75"],"updated_at":"2026-11-02T14:32:52.526476Z"}],"euvd":[{"id":"EUVD-2025-19239","description":"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.","status":"published","published":"2025-06-24T07:06:53Z","modified":"2025-06-24T18:03:35Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:32:16.964954Z"}],"ghsa":[{"id":"GHSA-9r64-3wmc-x8m8","title":"Apache Airflow Providers Snowflake package allows for Special Element Injection via CopyFromExternalStageToSnowflakeOperator","description":"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.","status":"published","published":"2025-06-26T21:31:04Z","modified":"2025-06-27T21:15:57Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-75"],"updated_at":"2026-11-02T14:38:48.783737Z"}],"nvd":[{"id":"CVE-2025-50213","description":"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.","status":"published","published":"2025-06-24T08:15:24.253Z","modified":"2026-06-17T09:34:58.33Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-75"],"updated_at":"2026-11-02T14:11:14.091082Z"}],"osv":[{"id":"CVE-2025-50213","title":"Apache Airflow Providers Snowflake: Potential SQL injection in CopyFromExternalStageToSnowflakeOperator","description":"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.","status":"published","published":"2025-06-24T07:06:53.128Z","modified":"2026-10-28T02:30:56.782234536Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-75"],"updated_at":"2026-11-02T15:44:50.037003Z"},{"id":"GHSA-9r64-3wmc-x8m8","title":"Apache Airflow Providers Snowflake package allows for Special Element Injection via CopyFromExternalStageToSnowflakeOperator","description":"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.","status":"published","published":"2025-06-26T21:31:04Z","modified":"2025-06-27T21:41:53.835867Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-75"],"updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"PYSEC-2025-51","description":"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.","status":"published","published":"2025-06-24T08:15:24Z","modified":"2026-06-10T17:00:19.310817567Z","updated_at":"2026-11-02T15:52:54.242332Z"},{"id":"ROOT-APP-PYPI-CVE-2025-50213","title":"CVE-2025-50213 in rootio-apache-airflow-providers-snowflake - Patched by Root","description":"Root has patched CVE-2025-50213 in the rootio-apache-airflow-providers-snowflake package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-06-03T14:47:41Z","modified":"2026-06-03T19:30:17.640360277Z","updated_at":"2026-11-02T15:53:27.940619Z"}]}}
