{"schemaVersion":4,"id":"CVE-2025-27018","aliases":["GHSA-hhm6-jjf4-6pm3","PYSEC-2026-1151","CGA-43rr-gc8x-c6j8","CGA-4j32-2hj2-g6jw","CGA-vvhv-qwx3-cx9w","CGA-xgv3-fj6c-mc4x"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2025-03-19T09:06:07.220Z","modified":"2025-03-25T17:45:20.580Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":7.2,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":7.2,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":7.2,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00911,"percentile":0.61227,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00911},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00893,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00911,"percentile":0.61227}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01486,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00911,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00911,"percentile":0.61227}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"apache software foundation","product":"apache airflow mysql provider","name":"Apache Airflow MySQL Provider","label":"apache airflow mysql provider","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.2.0","endInclusive":false}}],"versionsText":"< 6.2.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow_mysql_provider"},{"vendor":"apache","product":"apache-airflow-providers-mysql","name":"apache-airflow-providers-mysql","label":"apache-airflow-providers-mysql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.2.0","endInclusive":false}}],"versionsText":"< 6.2.0","eol":null,"hubHref":"/vendor/apache/apache-airflow-providers-mysql"},{"vendor":"chainguard","product":"airflow","name":"airflow","label":"airflow","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/airflow","purlType":"apk","versions":[{"text":"< 2.10.5-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.10.5-r3","endInclusive":false}}],"versionsText":"< 2.10.5-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"airflow-bitnami-compat","name":"airflow-bitnami-compat","label":"airflow-bitnami-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/airflow-bitnami-compat","purlType":"apk","versions":[{"text":"< 2.10.5-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.10.5-r3","endInclusive":false}}],"versionsText":"< 2.10.5-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"airflow","name":"airflow","label":"airflow","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/airflow","purlType":"apk","versions":[{"text":"< 2.10.5-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.10.5-r3","endInclusive":false}}],"versionsText":"< 2.10.5-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"airflow-bitnami-compat","name":"airflow-bitnami-compat","label":"airflow-bitnami-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/airflow-bitnami-compat","purlType":"apk","versions":[{"text":"< 2.10.5-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.10.5-r3","endInclusive":false}}],"versionsText":"< 2.10.5-r3","eol":null,"hubHref":null},{"vendor":"PyPI","product":"apache-airflow-providers-mysql","name":"apache-airflow-providers-mysql","label":"apache-airflow-providers-mysql","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/apache-airflow-providers-mysql","purlType":"pypi","versions":[{"text":"< 6.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.2.0","endInclusive":false}}],"versionsText":"< 6.2.0","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/apache/airflow/pull/47254","label":"github.com/apache/airflow/pull/47254","hostname":"github.com","tags":["Patch","WEB","FIX","Issue Tracking"]},{"url":"https://github.com/apache/airflow/pull/47255","label":"github.com/apache/airflow/pull/47255","hostname":"github.com","tags":["Patch","WEB","FIX","Issue Tracking"]},{"url":"https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf","label":"lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Advisory","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/19/4","label":"www.openwall.com/lists/oss-security/2025/03/19/4","hostname":"www.openwall.com","tags":["WEB","Mailing List"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27018","label":"nvd.nist.gov/vuln/detail/CVE-2025-27018","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/airflow","label":"github.com/apache/airflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/apache-airflow-providers-mysql","label":"pypi.org/project/apache-airflow-providers-mysql","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-hhm6-jjf4-6pm3","label":"github.com/advisories/GHSA-hhm6-jjf4-6pm3","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27018.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27018.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/apache-airflow-providers-mysql/","label":"pypi.org/project/apache-airflow-providers-mysql/","hostname":"pypi.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-5RG2-X745-M337","CGA-HJHG-834C-QPC6"]},"timeline":[{"kind":"published","date":"2025-03-19T09:06:07.220Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-25T17:45:20.580Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,63],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00911,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-03-25T17:45:20.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2025-03-25T17:45:20.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"cvss","source":"osv_pypi","date":"2025-03-25T17:45:20.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},{"type":"cvss","source":"osv_wolfi","date":"2025-03-25T17:45:20.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2025-03-25T17:45:20.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-03-25T17:45:20.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-03-25T17:45:14.899Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00911,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:57:54.641Z","stale":false,"partial":false}}