Apache Airflow Common SQL Provider Vulnerable to SQL Injection
High severity
GitHub Reviewed
Published
Apr 7, 2025
to the GitHub Advisory Database
•
Updated Apr 7, 2025
Package
Affected versions
< 1.24.1
Patched versions
1.24.1
Description
Published by the National Vulnerability Database
Apr 7, 2025
Published to the GitHub Advisory Database
Apr 7, 2025
Reviewed
Apr 7, 2025
Last updated
Apr 7, 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.
References