Vulnerability · Published Mar 19, 2025 · Assigned by apache

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

Medium 6.3

In plain English

A medium-severity SQL injection in Apache Airflow MySQL Provider from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.9%top 39.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIapache-airflow-providers-mysql6.2.0GHSA-hhm6-jjf4-6pm3
PyPIapache-airflow-providers-mysql6.2.0PYSEC-2026-1151

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Airflow MySQL Provider 0 – before 6.2.0

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References