CVE-2025-27018
Apache Airflow MySQL Provider: SQL injection in MySQL provider core function
Reported by apache · Published March 19, 2025
apache-airflow-providers-mysql is fixed in 6.2.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| apache-airflow-providers-mysql | PyPI | 6.2.0 |
| airflow | Chainguard | 2.10.5-r3 |
| airflow | Wolfi | 2.10.5-r3 |
| apache-airflow-providers-mysql | apache | 6.2.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Airflow MySQL Provider | 0 |
| Apache Software Foundation | Apache Airflow MySQL Provider | 0 |
| PyPI | apache-airflow-providers-mysql | 0 |
| chainguard | airflow | 0 |
| wolfi | airflow | 0 |
Timeline
- Mar 1, 2025 Fix PR Merged (2 in total, the first dated here)
- Mar 19, 2025 CVE Published
- Mar 19, 2025 EPSS Score (30 in total, the first dated here)
- Mar 19, 2025 Coalition ESS Score (23 in total, the first dated here)
- Mar 19, 2025 PoC Published (5 in total, the first dated here)
- Mar 9, 2026 Security Advisory
- Jul 7, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-27018
vulnetix vdb fixes CVE-2025-27018
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-27018/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- patch
- patch
- vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-27018 advisory
- https://github.com/advisories/GHSA-hhm6-jjf4-6pm3 advisory
- https://github.com/apache/airflow url
- http://www.openwall.com/lists/oss-security/2025/03/19/4 url