{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-27018","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 Airfl","descriptionLong":"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.","published":"2025-03-19T09:06:07.220Z","updated":"2026-10-28T02:30:22.098109229Z","reserved":"2025-02-17T19:29:12.155Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"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","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"4.0","score":null,"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","source":"OSV"},{"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","rating":"medium","source":"CISA-ADP"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Apache Software Foundation Apache Airflow MySQL Provider"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Airflow MySQL Provider","defaultStatus":"unaffected","versions":[{"lessThan":"6.2.0","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"apache-airflow-providers-mysql","purl":"pkg:pypi/apache-airflow-providers-mysql","ranges":["<6.2.0"],"fixed":["6.2.0"],"advisory":"GHSA-hhm6-jjf4-6pm3"}],"cwes":["CWE-89"],"aliases":["GHSA-hhm6-jjf4-6pm3","PYSEC-2026-1151"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27018.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27018","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"]},{"url":"https://github.com/advisories/GHSA-hhm6-jjf4-6pm3","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00911,"epssPercentile":0.6073,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-27018","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27018","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-27018","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hhm6-jjf4-6pm3","ok":true,"note":"GHSA-hhm6-jjf4-6pm3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-27018","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["mysql"],"critical":[],"attention":null}