{"id":"CVE-2025-27018","aliases":["GHSA-hhm6-jjf4-6pm3","PYSEC-2026-1151"],"title":"Apache Airflow MySQL Provider is Vulnerable to SQL Injection","summary":"Apache Airflow MySQL Provider is Vulnerable to SQL Injection","severity":"medium","cvss":6.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","vendor":"apache-airflow-providers-mysql","product":"apache-airflow-providers-mysql","ecosystem":"pip","affected":["apache-airflow-providers-mysql < 6.2.0"],"patched":["apache-airflow-providers-mysql 6.2.0"],"published":"2025-03-19","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:49:48.431895339Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-hhm6-jjf4-6pm3","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27018"},{"url":"https://github.com/apache/airflow/pull/47254"},{"url":"https://github.com/apache/airflow/pull/47255"},{"url":"https://github.com/apache/airflow"},{"url":"https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf"},{"url":"http://www.openwall.com/lists/oss-security/2025/03/19/4"}],"tags":["osv","pip"],"epss":0.00893,"epssPercentile":0.57938,"ingestedAt":"2026-07-08T18:25:50.239Z","slug":"CVE-2025-27018","body":"## Overview\n\nImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow MySQL Provider.\n\nWhen 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.\nIt could lead to data corruption, modification and others.\nThis issue affects Apache Airflow MySQL Provider: before 6.2.0.\n\nUsers are recommended to upgrade to version 6.2.0, which fixes the issue.\n\n## Affected packages\n\n- `apache-airflow-providers-mysql < 6.2.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `apache-airflow-providers-mysql 6.2.0`","depth":"sunlit","depthScore":35,"depthScoreParts":{"impact":34.7,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}