Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Apache Software Foundation Apache Airflow Common SQL Provider
Default version status: unaffected
0 to < 1.24.1affected
References
- https://github.com/apache/airflow/pull/48098 ↗
- https://lists.apache.org/thread/53klkv790cylqcop0350w7nfq1y6h0t2 ↗
- http://www.openwall.com/lists/oss-security/2025/04/04/2 ↗
- http://www.openwall.com/lists/oss-security/2025/04/06/1 ↗
- http://www.openwall.com/lists/oss-security/2025/04/06/2 ↗
- http://www.openwall.com/lists/oss-security/2025/04/06/3 ↗