{"id":"CVE-2025-27018","published":"2025-03-19T09:06:07Z","modified":"2025-03-25T17:45:20Z","title":"Apache Airflow MySQL Provider: SQL injection in MySQL provider core function","vendor":"Apache","product":"Apache Airflow MySQL Provider","tier":"tail","description":{"text":"Improper 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00911,"percentile":0.60852,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/apache/airflow/pull/47254","tags":["patch"]},{"url":"https://github.com/apache/airflow/pull/47255","tags":["patch"]},{"url":"https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/19/4","tags":[]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":12.17},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow MySQL Provider","versions":["< 6.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-25T17:45:14.899182Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow-providers-mysql","vulnerableRanges":["<6.2.0"],"patched":["6.2.0"],"from":["GHSA-hhm6-jjf4-6pm3","PYSEC-2026-1151"],"provenance":"source"}],"summary":{"text":"The Apache Airflow MySQL Provider contains an SQL injection flaw in its dump_sql and load_sql functions, where a table parameter passed from the UI is not properly neutralised before being used in SQL. An attacker who can get a user to trigger a DAG using those functions, with low privileges and no further user interaction required, can run unintended SQL that may lead to data corruption or modification.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:06Z"},"euvd":{"id":"EUVD-2025-6720","exploited":false,"provenance":"source"}}