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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://github.com/apache/airflow/pull/48098 | patch issue tracking |
https://lists.apache.org/thread/53klkv790cylqcop0350w7nfq1y6h0t2 | vendor advisory mailing list |
http://www.openwall.com/lists/oss-security/2025/04/04/2 | mailing list third party advisory |
http://www.openwall.com/lists/oss-security/2025/04/06/1 | mailing list |
http://www.openwall.com/lists/oss-security/2025/04/06/2 | mailing list |
http://www.openwall.com/lists/oss-security/2025/04/06/3 | mailing list |