CVE-2025-27018
MEDIUM6.3EPSS 0.18%Apache Airflow MySQL Provider is Vulnerable to SQL Injection
Published: 3/19/2025Modified: 2/4/2026
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 packages (1)
- PyPI/apache-airflow-providers-mysqlfrom 0, < 6.2.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-27018
- PATCHhttps://github.com/apache/airflow
- WEBhttps://github.com/apache/airflow/pull/47254
- WEBhttps://github.com/apache/airflow/pull/47255
- WEBhttps://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf
- WEBhttp://www.openwall.com/lists/oss-security/2025/03/19/4