CVE-2025-30473
April 07, 2025
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.
When using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.
This allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.
This issue affects Apache Airflow Common SQL Provider: before 1.24.1.
Users are recommended to upgrade to version 1.24.1, which fixes the issue.
Affected Packages
apache-airflow-providers-common-sql (CONDA):
Affected version(s) >=1.0.0 <1.24.1Fix Suggestion:
Update to version 1.24.1https://github.com/apache/airflow.git (GITHUB):
Affected version(s) >=providers-common-sql/1.0.0 <providers-common-sql/1.24.1Fix Suggestion:
Update to version providers-common-sql/1.24.1apache-airflow-providers-common-sql (PYTHON):
Affected version(s) >=1.0.0a1 <1.24.1Fix Suggestion:
Update to version 1.24.1apache-airflow-providers-common-sql (PYTHON):
Affected version(s) >=1.0.0a1 <1.24.1Fix Suggestion:
Update to version 1.24.1Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
EPSS
Base Score:
0.20