Advisory

GHSA-hhm6-jjf4-6pm3

Also known as: CVE-2025-27018, PYSEC-2026-1151

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: The source's own band: MODERATE

Dates

Published
2025-03-19 09:30 UTC
Modified
2026-09-10 03:49 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences