# CVE-2025-27018: Apache Airflow MySQL Provider: SQL injection in MySQL provider core function

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-19 · Modified: 2025-03-25
- Aliases: GHSA-hhm6-jjf4-6pm3, PYSEC-2026-1151, CGA-43rr-gc8x-c6j8, CGA-4j32-2hj2-g6jw, CGA-vvhv-qwx3-cx9w, CGA-xgv3-fj6c-mc4x
- Record: https://cvemate.com/vulnerability/CVE-2025-27018 · JSON: https://cvemate.com/vulnerability/CVE-2025-27018/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.911%, percentile 61.227%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache airflow mysql provider: \< 6.2.0
- apache apache-airflow-providers-mysql: \< 6.2.0
- chainguard airflow (Chainguard): \< 2.10.5-r3
- chainguard airflow-bitnami-compat (Chainguard): \< 2.10.5-r3
- wolfi airflow (Wolfi): \< 2.10.5-r3
- wolfi airflow-bitnami-compat (Wolfi): \< 2.10.5-r3
- PyPI apache-airflow-providers-mysql (PyPI): \< 6.2.0

## References

- <https://github.com/apache/airflow/pull/47254>
- <https://github.com/apache/airflow/pull/47255>
- <https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf>
- <http://www.openwall.com/lists/oss-security/2025/03/19/4>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27018>
- <https://github.com/apache/airflow>
- <https://pypi.org/project/apache-airflow-providers-mysql>
- <https://github.com/advisories/GHSA-hhm6-jjf4-6pm3>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27018.json>
- <https://pypi.org/project/apache-airflow-providers-mysql/>

---

Data as of 2026-12-05T08:49:54.134Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
