VDB
Sign up
MEDIUM6.3

PYSEC-2026-1151

Apache Airflow MySQL Provider is Vulnerable to SQL Injection

Quick fix

PYSEC-2026-1151 — apache-airflow-providers-mysql: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-airflow-providers-mysql>=6.2.0'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow-providers-mysql
Introduced in: 0Fixed in: 6.2.0
Fixpip install --upgrade 'apache-airflow-providers-mysql>=6.2.0'

References