6.3medium
Apache Airflow MySQL Provider: SQL injection in MySQL provider core function
- Severity
- 6.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.91% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-hhm6-jjf4-6pm3PYSEC-2026-1151
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
| Product or package | Versions | Reported by |
|---|---|---|
| apache-airflow-providers-mysql | before 6.2.0 | CVE List |
| apache-airflow-providers-mysql (PyPI) | before 6.2.0 | GitHub Advisory Database, PyPA Advisory Database |
| apache apache-airflow-providers-mysql | before 6.2.0 | NVD |
All scores
| CISA-ADP | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium 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 |
| PyPA Advisory Database | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Vulnerabilidad de neutralización incorrecta de elementos especiales utilizados en una instrucción SQL ('Inyección SQL') en Apache Airflow MySQL Provider. Al activar un DAG con las funciones dump_sql o load_sql, el usuario podía pasar un parámetro de tabla desde una interfaz de usuario, lo que podía causar una inyección SQL al ejecutar SQL no previsto. Esto podía provocar corrupción y modificación de datos, entre otros problemas. Este problema afecta a Apache Airflow MySQL Provider anterior a la versión 6.2.0. Se recomienda actualizar a la versión 6.2.0, que soluciona el problema.
References
| https://github.com/apache/airflow/pull/47254 | issue-tracking, patch, web | |
| https://github.com/apache/airflow/pull/47255 | issue-tracking, patch, web | |
| https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2025/03/19/4 | mailing-list, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-27018 | advisory | |
| https://github.com/apache/airflow | package | |
| https://pypi.org/project/apache-airflow-providers-mysql | package | |
| https://github.com/advisories/GHSA-hhm6-jjf4-6pm3 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-27018 changed 2025-03-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hhm6-jjf4-6pm3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-27018 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1151 changed 2026-07-07 | CC-BY-4.0 |