medium6.3
CVE-2025-27018
Apache Airflow MySQL Provider is Vulnerable to SQL Injection
Impact
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow MySQL Provider. When user triggered a DAG with dump_sql or load_sql functions they could pass a table parameter from a UI, that could cause SQL injection by running SQL that was not intended. It could lead to data corruption, modification and others. This issue affects Apache Airflow MySQL Provider: before 6.2.0. Users are recommended to upgrade to version 6.2.0, which fixes the issue.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | apache-airflow-providers-mysql | < 6.2.0 | 6.2.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Apache-Airflow-Providers-Mysql | before 6.2.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/apache/airflow/pull/47254
- https://github.com/apache/airflow/pull/47255
- https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf
- http://www.openwall.com/lists/oss-security/2025/03/19/4
- https://github.com/advisories/GHSA-hhm6-jjf4-6pm3
- https://nvd.nist.gov/vuln/detail/CVE-2025-27018