PYSEC-2026-1145
Apache Airflow Common SQL Provider Vulnerable to SQL Injection
Quick fix
PYSEC-2026-1145 — apache-airflow-providers-common-sql: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-airflow-providers-common-sql>=1.24.1'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.24.1pip install --upgrade 'apache-airflow-providers-common-sql>=1.24.1'References
- https://nvd.nist.gov/vuln/detail/CVE-2025-30473[ADVISORY]
- https://github.com/apache/airflow/pull/48098[WEB]
- https://github.com/apache/airflow[PACKAGE]
- https://lists.apache.org/thread/53klkv790cylqcop0350w7nfq1y6h0t2[WEB]
- http://www.openwall.com/lists/oss-security/2025/04/04/2[WEB]
- http://www.openwall.com/lists/oss-security/2025/04/06/1[WEB]
- http://www.openwall.com/lists/oss-security/2025/04/06/2[WEB]
- http://www.openwall.com/lists/oss-security/2025/04/06/3[WEB]
- https://pypi.org/project/apache-airflow-providers-common-sql[PACKAGE]
- https://github.com/advisories/GHSA-5r62-mjf5-xwhj[ADVISORY]