CVE-2025-27018

Apache Airflow MySQL Provider: SQL injection in MySQL provider core function

Published Mar 19, 2025 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-6720 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.
Github GHSA Github GHSA GHSA-hhm6-jjf4-6pm3 Apache Airflow MySQL Provider is Vulnerable to SQL Injection
History
Type Values Removed Values Added
First Time appeared Apache
Apache apache-airflow-providers-mysql
CPEs cpe:2.3:a:apache:apache-airflow-providers-mysql:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache apache-airflow-providers-mysql
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Apache Airflow MySQL Provider: SQL injection in MySQL provider core function
Weaknesses CWE-89
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Mar 25, 2025, 5:45 PM
Reserved
Feb 17, 2025, 7:29 PM
Status
Analyzed
Published
Mar 19, 2025, 9:15 AM
Modified
Jun 17, 2026, 9:02 AM