Advisory

PYSEC-2026-1151

Also known as: CVE-2025-27018, GHSA-hhm6-jjf4-6pm3

Summary

Apache Airflow MySQL Provider is Vulnerable to SQL Injection

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.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

apache-airflow-providers-mysql

PyPI · All systems

Affected

  • introduced 0, fixed 6.2.0 (ecosystem)

Fixed versions

6.2.0

Fix

  • Fixed version 6.2.0
    pip install --upgrade apache-airflow-providers-mysql==6.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences