CVE-2025-27018
MEDIUM 6.3CVSS 3.1Apache Airflow MySQL Provider is Vulnerable to SQL Injection
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.
- Published
- 19 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-hhm6-jjf4-6pm3PYSEC-2026-1151
- Sources
- NVDJSONOSV GHSA-hhm6-jjf4-6pm3JSONOSV PYSEC-2026-1151JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | PyPA | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | apache-airflow-providers-mysqlcpe:2.3:a:apache:apache-airflow-providers-mysql:*:*:*:*:*:*:*:* |
< 6.2.0 | 6.2.0 |
| OSV | PyPI | apache-airflow-providers-mysql | < 6.2.0 | 6.2.0 |
References
- https://github.com/apache/airflow/pull/47254 · Issue Tracking, WEB
- https://github.com/apache/airflow/pull/47255 · Issue Tracking, 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
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 19 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Mar 2025)