{"id":"CVE-2025-27018","aliases":["EUVD-2025-6720","GHSA-hhm6-jjf4-6pm3","PYSEC-2026-1151"],"status":"published","title":"Apache Airflow MySQL Provider: SQL injection in MySQL provider core function","description":"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.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00911,"percentile":0.60298,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2025-03-19T09:06:07Z","modified":"2026-10-28T02:30:22Z","fixes":[{"ecosystem":"PyPI","package":"apache-airflow-providers-mysql","fixed_in":["6.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"apache-airflow-providers-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"apache-airflow-providers-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.0"}]}],"versions":["1.0.0","1.0.0b1","1.0.0b2","1.0.0rc1","1.0.1","1.0.1rc1","1.0.2","1.0.2rc1","1.1.0","1.1.0rc1","2.0.0","2.0.0rc1","2.0.0rc2","2.1.0","2.1.0rc1","2.1.0rc2","2.1.1","2.1.1rc1","2.2.0","2.2.0rc1","2.2.0rc2","2.2.1","2.2.1rc1","2.2.2","2.2.2rc1","2.2.3","2.2.3rc1","3.0.0","3.0.0rc1","3.0.0rc2","3.1.0","3.1.0rc1","3.2.0","3.2.0rc1","3.2.0rc2","3.2.0rc3","3.2.1","3.2.1rc1","3.3.0","3.3.0rc1","3.4.0","3.4.0rc2","3.4.0rc3","4.0.0","4.0.0rc1","4.0.1","4.0.1rc1","4.0.2","4.0.2rc1","5.0.0","5.0.0rc1","5.1.0","5.1.0rc1","5.1.0rc2","5.1.1","5.1.1rc1","5.2.0","5.2.0rc1","5.2.1","5.2.1rc1","5.3.0","5.3.0rc1","5.3.1","5.3.1rc1","5.4.0","5.4.0rc1","5.5.0","5.5.0rc1","5.5.1","5.5.1rc1","5.5.2","5.5.2rc1","5.5.2rc2","5.5.3","5.5.3rc1","5.5.4","5.5.4rc1","5.6.0","5.6.0rc1","5.6.1","5.6.1rc1","5.6.2","5.6.2rc1","5.6.3","5.6.3rc1","5.7.0","5.7.0rc1","5.7.1","5.7.1rc1","5.7.2","5.7.2rc1","5.7.3","5.7.3rc1","5.7.4","5.7.4rc1","6.0.0","6.0.0rc1","6.0.0rc2","6.1.0","6.1.0rc1","6.2.0rc1"]},{"source":"osv","ecosystem":"PyPI","package":"apache-airflow-providers-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.0"}]}],"versions":["1.0.0","1.0.0b1","1.0.0b2","1.0.0rc1","1.0.1","1.0.1rc1","1.0.2","1.0.2rc1","1.1.0","1.1.0rc1","2.0.0","2.0.0rc1","2.0.0rc2","2.1.0","2.1.0rc1","2.1.0rc2","2.1.1","2.1.1rc1","2.2.0","2.2.0rc1","2.2.0rc2","2.2.1","2.2.1rc1","2.2.2","2.2.2rc1","2.2.3","2.2.3rc1","3.0.0","3.0.0rc1","3.0.0rc2","3.1.0","3.1.0rc1","3.2.0","3.2.0rc1","3.2.0rc2","3.2.0rc3","3.2.1","3.2.1rc1","3.3.0","3.3.0rc1","3.4.0","3.4.0rc2","3.4.0rc3","4.0.0","4.0.0rc1","4.0.1","4.0.1rc1","4.0.2","4.0.2rc1","5.0.0","5.0.0rc1","5.1.0","5.1.0rc1","5.1.0rc2","5.1.1","5.1.1rc1","5.2.0","5.2.0rc1","5.2.1","5.2.1rc1","5.3.0","5.3.0rc1","5.3.1","5.3.1rc1","5.4.0","5.4.0rc1","5.5.0","5.5.0rc1","5.5.1","5.5.1rc1","5.5.2","5.5.2rc1","5.5.2rc2","5.5.3","5.5.3rc1","5.5.4","5.5.4rc1","5.6.0","5.6.0rc1","5.6.1","5.6.1rc1","5.6.2","5.6.2rc1","5.6.3","5.6.3rc1","5.7.0","5.7.0rc1","5.7.1","5.7.1rc1","5.7.2","5.7.2rc1","5.7.3","5.7.3rc1","5.7.4","5.7.4rc1","6.0.0","6.0.0rc1","6.0.0rc2","6.1.0","6.1.0rc1","6.2.0rc1"]}],"products":[{"vendor":"apache","product":"apache-airflow-providers-mysql"},{"vendor":"apache software foundation","product":"apache airflow mysql provider"}],"references":[{"url":"https://github.com/apache/airflow/pull/47254","tags":["patch","Issue Tracking","fix","web"]},{"url":"https://github.com/apache/airflow/pull/47255","tags":["patch","Issue Tracking","fix","web"]},{"url":"https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf","tags":["vendor-advisory","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/19/4","tags":["Mailing List","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27018","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hhm6-jjf4-6pm3","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27018.json","tags":["advisory"]},{"url":"https://pypi.org/project/apache-airflow-providers-mysql/","tags":["package"]},{"url":"https://github.com/apache/airflow","tags":["package"]},{"url":"https://pypi.org/project/apache-airflow-providers-mysql","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-27018","title":"Apache Airflow MySQL Provider: SQL injection in MySQL provider core function","description":"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.","status":"published","published":"2025-03-19T09:06:07.22Z","modified":"2025-03-25T17:45:20.58Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:32:42.078906Z"}],"euvd":[{"id":"EUVD-2025-6720","description":"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.","status":"published","published":"2025-03-19T09:06:07Z","modified":"2025-03-25T17:45:20Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:52:52.192094Z"}],"ghsa":[{"id":"GHSA-hhm6-jjf4-6pm3","title":"Apache Airflow MySQL Provider is Vulnerable to SQL Injection","description":"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.","status":"published","published":"2025-03-19T09:30:27Z","modified":"2025-03-25T20:16:21Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"medium"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:38:36.51789Z"}],"nvd":[{"id":"CVE-2025-27018","description":"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.","status":"published","published":"2025-03-19T09:15:14.457Z","modified":"2026-06-17T09:02:46.143Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:10:54.744127Z"}],"osv":[{"id":"CVE-2025-27018","title":"Apache Airflow MySQL Provider: SQL injection in MySQL provider core function","description":"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.","status":"published","published":"2025-03-19T09:06:07.22Z","modified":"2026-10-28T02:30:22.098109229Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:44:47.386092Z"},{"id":"GHSA-hhm6-jjf4-6pm3","title":"Apache Airflow MySQL Provider is Vulnerable to SQL Injection","description":"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.","status":"published","published":"2025-03-19T09:30:27Z","modified":"2026-09-10T03:49:48.431895339Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:49.28217Z"},{"id":"PYSEC-2026-1151","title":"Apache Airflow MySQL Provider is Vulnerable to SQL Injection","description":"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.","status":"published","published":"2026-07-07T14:34:50.999793Z","modified":"2026-07-07T17:46:28.398718438Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T15:52:54.622769Z"}]}}
