{"id":"CVE-2025-27018","state":"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.","publishedAt":"2025-03-19T09:06:07.220Z","updatedAt":"2025-03-25T17:45:20.580Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Airflow MySQL Provider"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow MySQL Provider","packageName":"apache-airflow-providers-mysql","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.2.0","versionType":"semver"}],"collectionURL":"https://pypi.org/project/apache-airflow-providers-mysql/"}],"references":["https://github.com/apache/airflow/pull/47254","https://github.com/apache/airflow/pull/47255","https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf","http://www.openwall.com/lists/oss-security/2025/03/19/4"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/27xxx/CVE-2025-27018.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-27018","state":"PUBLISHED","datePublished":"2025-03-19T09:06:07.220Z","dateUpdated":"2025-03-25T17:45:20.580Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2025-02-17T19:29:12.155Z"},"containers":{"cna":{"title":"Apache Airflow MySQL Provider: SQL injection in MySQL provider core function","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow MySQL Provider","packageName":"apache-airflow-providers-mysql","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.2.0","versionType":"semver"}],"collectionURL":"https://pypi.org/project/apache-airflow-providers-mysql/"}],"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"]}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2025-03-19T09:06:07.220Z"},"credits":[{"lang":"en","type":"finder","value":"Vincent55 (DEVCORE Internship Program)"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2025/03/19/4"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-03-19T19:02:38.085Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-03-25T17:45:14.899182Z","id":"CVE-2025-27018","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-25T17:45:20.580Z"}}]}}}