{"id":"CVE-2025-27018","aliases":["CVE-2025-27018","GHSA-hhm6-jjf4-6pm3","PYSEC-2026-1151"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow MySQL Provider: SQL injection in MySQL provider core function","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de neutralización incorrecta de elementos especiales utilizados en una instrucción SQL ('Inyección SQL') en Apache Airflow MySQL Provider. Al activar un DAG con las funciones dump_sql o load_sql, el usuario podía pasar un parámetro de tabla desde una interfaz de usuario, lo que podía causar una inyección SQL al ejecutar SQL no previsto. Esto podía provocar corrupción y modificación de datos, entre otros problemas. Este problema afecta a Apache Airflow MySQL Provider anterior a la versión 6.2.0. Se recomienda actualizar a la versión 6.2.0, que soluciona el problema.","source":"nvd"}],"published":"2025-03-19T09:06:07.220Z","modified":"2026-09-10T03:49:48.431Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","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"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"6.2.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow MySQL Provider","package":"apache-airflow-providers-mysql","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.2.0"}],"ecosystem":"PyPI","package":"apache-airflow-providers-mysql","purl":"pkg:pypi/apache-airflow-providers-mysql","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.2.0"}],"vendor":"apache","product":"apache-airflow-providers-mysql","cpe":"cpe:2.3:a:apache:apache-airflow-providers-mysql:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.2.0"}],"ecosystem":"PyPI","package":"apache-airflow-providers-mysql","purl":"pkg:pypi/apache-airflow-providers-mysql","source":"pysec"}],"references":[{"url":"https://github.com/apache/airflow/pull/47254","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/apache/airflow/pull/47255","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf","tags":["mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/19/4","tags":["mailing-list","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27018","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/apache-airflow-providers-mysql","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-hhm6-jjf4-6pm3","tags":["advisory"],"sources":["pysec"]}],"credits":["Vincent55 (DEVCORE Internship Program)"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-25T17:45:14.899Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-27018","url":"https://www.cve.org/CVERecord?id=CVE-2025-27018","licence":"CVE Terms of Use","modified":"2025-03-25T17:45:20.580Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hhm6-jjf4-6pm3","url":"https://github.com/advisories/GHSA-hhm6-jjf4-6pm3","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:48.431Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-27018","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27018","licence":"Public domain","modified":"2026-06-17T09:02:46.143Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1151","url":"https://osv.dev/vulnerability/PYSEC-2026-1151","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:28.398Z"}],"updatedAt":"2026-11-25T22:58:55.350Z","epss":{"score":0.00911,"percentile":0.61051,"date":"2026-12-01T12:00:22.000Z"}}