CVE-2025-50213CWE-75

Apache Airflow Providers Snowflake: Potential SQL injection in CopyFromExternalStageToSnowflakeOperator

Critical · published June 24, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
51.0
In the wild
Unconfirmed
What it is

🚨 There's a terrifying flaw lurking in Apache Airflow Providers Snowflake versions prior to 6.4.0, allowing crafty attackers to slip in harmful SQL commands like they're part of the crew! 🔥 Think of it like serving a gourmet meal in a restaurant without checking if the ingredients are safe — if the chef doesn't sanitize the vegetables properly, the entire dish could be ruined. Similarly, this vulnerability lets malicious data find its way into your queries without a proper check. The consequences of this vulnerability could be absolutely devastating. An attacker could exploit it to inject malicious SQL commands, potentially gaining unauthorized access to sensitive data or manipulating your databases. The fallout could lead to severe data breaches or costly downtime — a nightmare for any organization!

Put simply

Think of it like serving a gourmet meal in a restaurant without checking if the ingredients are safe — if the chef doesn't sanitize the vegetables properly, the entire dish could be ruined. Similarly, this vulnerability lets malicious data find its way into your queries without a proper check. This vulnerability arises because the CopyFromExternalStageToSnowflakeOperator fails to properly sanitize table and stage parameters, allowing for special element injection that can result in SQL injection attacks.

What to do

The consequences of this vulnerability could be absolutely devastating. An attacker could exploit it to inject malicious SQL commands, potentially gaining unauthorized access to sensitive data or manipulating your databases. The fallout could lead to severe data breaches or costly downtime — a nightmare for any organization! Upgrade immediately to Apache Airflow Providers Snowflake version 6.4.0 or later to patch this vulnerability. Additionally, ensure that all SQL parameters are rigorously validated and sanitized to prevent malicious inputs from breaching your defenses. You've got this! With these steps, you'll be back in the secure zone in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00662 · 51.0th percentile
Weakness
CWE-75 · Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
Published
2025-06-24T07:06Z
EPSS history
Timeline
  • 24 JUN 07:06Z
    Apache Airflow Providers Snowflake: Potential SQL injection in CopyFromExternalStageToSnowflakeOperator
    cvelistv5