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

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 61% of CVEs (2026-12-01)
- Published: 2025-03-19T09:06:07.220Z
- Modified: 2026-09-10T03:49:48.431Z
- Also known as: GHSA-hhm6-jjf4-6pm3, PYSEC-2026-1151
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- apache-airflow-providers-mysql: before 6.2.0
- apache-airflow-providers-mysql (PyPI): before 6.2.0
- apache apache-airflow-providers-mysql: before 6.2.0

## Every score

- CISA-ADP: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: 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`

## 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

- CVE List: [CVE-2025-27018](https://www.cve.org/CVERecord?id=CVE-2025-27018), CVE Terms of Use, modified 2025-03-25
- GitHub Advisory Database: [GHSA-hhm6-jjf4-6pm3](https://github.com/advisories/GHSA-hhm6-jjf4-6pm3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-27018](https://nvd.nist.gov/vuln/detail/CVE-2025-27018), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1151](https://osv.dev/vulnerability/PYSEC-2026-1151), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-27018 · Whole record: https://cve.day/CVE-2025-27018.json · Rebuilt by cve.day 2026-11-25T22:58:55.350Z
