CVE-2025-27018: Apache Airflow MySQL Provider: SQL injection in MySQL provider core function
| Severity | Low |
|---|---|
| Affects | apache-airflow-providers-mysql |
| Weakness | CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') |
| Published | March 19, 2025 |
| Record updated | March 25, 2025 |
| CVE record | CVE-2025-27018 on cve.org |
Description
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 versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow MySQL Provider | apache-airflow-providers-mysql |
before 6.2.0 |
Credits
- Vincent55 (DEVCORE Internship Program) (finder)