SQL Injection in Apache Apache-Airflow-Providers-Mysql
CVE-2025-27018
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.009 (57.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 58th percentile — 57.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: +0.000
Affected products
Weakness classification (CWE)
References
- github.com/apache/airflow/pull/47254 (patch, Issue Tracking)
- github.com/apache/airflow/pull/47255 (patch, Issue Tracking)
- lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf (vendor-advisory, Mailing List, Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List)
Frequently asked questions
- What is CVE-2025-27018?
- CVE-2025-27018 is a medium-severity vulnerability in Apache Apache-Airflow-Providers-Mysql, classified under SQL Injection. CVSS score: 6.3/10. Published 2025-03-19.
- How severe is CVE-2025-27018?
- Medium severity. CVSS v3 base score is 6.3 out of 10.