{"id":"CVE-2025-30473","aliases":["EUVD-2025-9984","GHSA-5r62-mjf5-xwhj","PYSEC-2026-1145","ROOT-APP-PYPI-CVE-2025-30473"],"status":"published","title":"Apache Airflow Common SQL Provider: Remote Code Execution via Sql Injection","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.\n\nWhen using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.\nThis allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.\n\n\nThis issue affects Apache Airflow Common SQL Provider: before 1.24.1.\n\nUsers are recommended to upgrade to version 1.24.1, which fixes the issue.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.0096,"percentile":0.61823,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2025-04-07T08:31:57Z","modified":"2026-10-28T02:31:09Z","fixes":[{"ecosystem":"PyPI","package":"apache-airflow-providers-common-sql","fixed_in":["1.24.1"],"sources":["ghsa","osv"]},{"ecosystem":"Root:PyPI","package":"rootio-apache-airflow-providers-common-sql","fixed_in":["1.19.0+root.io.1","1.19.0+root.io.2"],"sources":["osv"]},{"ecosystem":"Root:PyPI","package":"apache-airflow-providers-common-sql","fixed_in":["1.19.0+aikido.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"apache-airflow-providers-common-sql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"apache-airflow-providers-common-sql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24.1"}]}],"versions":["1.0.0","1.0.0a1","1.0.0rc1","1.1.0","1.1.0rc1","1.1.0rc2","1.1.0rc3","1.1.0rc4","1.10.0","1.10.0rc1","1.10.1","1.10.1rc1","1.11.0","1.11.0rc1","1.11.0rc2","1.11.0rc3","1.11.1","1.11.1rc1","1.12.0","1.12.0rc1","1.13.0","1.13.0rc1","1.14.0","1.14.0rc1","1.14.1","1.14.1rc1","1.14.2","1.14.2rc1","1.15.0","1.15.0rc1","1.16.0","1.16.0rc1","1.17.0","1.17.0rc1","1.17.1","1.17.1rc1","1.18.0","1.18.0rc1","1.19.0","1.19.0rc1","1.2.0","1.2.0rc1","1.20.0","1.20.0rc1","1.21.0","1.21.0rc1","1.21.0rc2","1.22.0","1.23.0","1.23.0rc1","1.24.0","1.24.0rc1","1.24.1b1","1.24.1rc1","1.3.0","1.3.0rc1","1.3.1","1.3.1rc2","1.3.1rc3","1.3.2","1.3.2rc1","1.3.2rc2","1.3.3","1.3.3rc1","1.3.4","1.3.4rc1","1.4.0","1.4.0rc1","1.5.0","1.5.0rc1","1.5.0rc2","1.5.1","1.5.1rc1","1.5.2","1.5.2rc1","1.6.0","1.6.0rc1","1.6.0rc2","1.6.1","1.6.1rc1","1.6.2","1.6.2rc1","1.7.0","1.7.0rc1","1.7.1","1.7.1rc1","1.7.2","1.7.2rc1","1.8.0","1.8.0rc1","1.8.1","1.8.1rc1","1.9.0","1.9.0rc1"]},{"source":"osv","ecosystem":"PyPI","package":"apache-airflow-providers-common-sql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24.1"}]}],"versions":["1.0.0","1.0.0a1","1.0.0rc1","1.1.0","1.1.0rc1","1.1.0rc2","1.1.0rc3","1.1.0rc4","1.10.0","1.10.0rc1","1.10.1","1.10.1rc1","1.11.0","1.11.0rc1","1.11.0rc2","1.11.0rc3","1.11.1","1.11.1rc1","1.12.0","1.12.0rc1","1.13.0","1.13.0rc1","1.14.0","1.14.0rc1","1.14.1","1.14.1rc1","1.14.2","1.14.2rc1","1.15.0","1.15.0rc1","1.16.0","1.16.0rc1","1.17.0","1.17.0rc1","1.17.1","1.17.1rc1","1.18.0","1.18.0rc1","1.19.0","1.19.0rc1","1.2.0","1.2.0rc1","1.20.0","1.20.0rc1","1.21.0","1.21.0rc1","1.21.0rc2","1.22.0","1.23.0","1.23.0rc1","1.24.0","1.24.0rc1","1.24.1b1","1.24.1rc1","1.3.0","1.3.0rc1","1.3.1","1.3.1rc2","1.3.1rc3","1.3.2","1.3.2rc1","1.3.2rc2","1.3.3","1.3.3rc1","1.3.4","1.3.4rc1","1.4.0","1.4.0rc1","1.5.0","1.5.0rc1","1.5.0rc2","1.5.1","1.5.1rc1","1.5.2","1.5.2rc1","1.6.0","1.6.0rc1","1.6.0rc2","1.6.1","1.6.1rc1","1.6.2","1.6.2rc1","1.7.0","1.7.0rc1","1.7.1","1.7.1rc1","1.7.2","1.7.2rc1","1.8.0","1.8.0rc1","1.8.1","1.8.1rc1","1.9.0","1.9.0rc1"]},{"source":"osv","ecosystem":"Root:PyPI","package":"rootio-apache-airflow-providers-common-sql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.0+root.io.1"},{"fixed":"1.19.0+root.io.2"}]}]},{"source":"osv","ecosystem":"Root:PyPI","package":"apache-airflow-providers-common-sql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.0+aikido.2"}]}]}],"products":[{"vendor":"apache","product":"airflow_common_sql_provider"},{"vendor":"apache software foundation","product":"apache airflow common sql provider"}],"references":[{"url":"https://github.com/apache/airflow/pull/48098","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://lists.apache.org/thread/53klkv790cylqcop0350w7nfq1y6h0t2","tags":["vendor-advisory","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/04/04/2","tags":["Mailing List","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/04/06/1","tags":["Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/04/06/2","tags":["Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/04/06/3","tags":["Mailing List","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30473","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5r62-mjf5-xwhj","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30473.json","tags":["advisory"]},{"url":"https://pypi.org/project/apache-airflow-providers-common-sql/","tags":["package"]},{"url":"https://github.com/apache/airflow","tags":["package"]},{"url":"https://pypi.org/project/apache-airflow-providers-common-sql","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-30473","title":"Apache Airflow Common SQL Provider: Remote Code Execution via Sql Injection","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.\n\nWhen using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.\nThis allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.\n\n\nThis issue affects Apache Airflow Common SQL Provider: before 1.24.1.\n\nUsers are recommended to upgrade to version 1.24.1, which fixes the issue.","status":"published","published":"2025-04-07T08:31:57.22Z","modified":"2026-02-26T18:28:53.983Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:32:35.742256Z"}],"euvd":[{"id":"EUVD-2025-9984","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.\n\nWhen using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.\nThis allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.\n\n\nThis issue affects Apache Airflow Common SQL Provider: before 1.24.1.\n\nUsers are recommended to upgrade to version 1.24.1, which fixes the issue.","status":"published","published":"2025-04-07T08:31:57Z","modified":"2026-02-26T18:28:53Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:48:16.381292Z"}],"ghsa":[{"id":"GHSA-5r62-mjf5-xwhj","title":"Apache Airflow Common SQL Provider Vulnerable to SQL Injection","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.\n\nWhen using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.\nThis allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.\n\n\nThis issue affects Apache Airflow Common SQL Provider: before 1.24.1.\n\nUsers are recommended to upgrade to version 1.24.1, which fixes the issue.","status":"published","published":"2025-04-07T09:30:23Z","modified":"2025-04-07T20:38:27Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:38:38.344711Z"}],"nvd":[{"id":"CVE-2025-30473","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.\n\nWhen using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.\nThis allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.\n\n\nThis issue affects Apache Airflow Common SQL Provider: before 1.24.1.\n\nUsers are recommended to upgrade to version 1.24.1, which fixes the issue.","status":"published","published":"2025-04-07T09:15:16.667Z","modified":"2026-06-17T09:08:49Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:10:59.48027Z"}],"osv":[{"id":"CVE-2025-30473","title":"Apache Airflow Common SQL Provider: Remote Code Execution via Sql Injection","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.\n\nWhen using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.\nThis allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.\n\n\nThis issue affects Apache Airflow Common SQL Provider: before 1.24.1.\n\nUsers are recommended to upgrade to version 1.24.1, which fixes the issue.","status":"published","published":"2025-04-07T08:31:57.22Z","modified":"2026-10-28T02:31:09.333437042Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:44:47.708311Z"},{"id":"GHSA-5r62-mjf5-xwhj","title":"Apache Airflow Common SQL Provider Vulnerable to SQL Injection","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.\n\nWhen using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.\nThis allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.\n\n\nThis issue affects Apache Airflow Common SQL Provider: before 1.24.1.\n\nUsers are recommended to upgrade to version 1.24.1, which fixes the issue.","status":"published","published":"2025-04-07T09:30:23Z","modified":"2026-08-07T08:12:03.182061517Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:38.553953Z"},{"id":"PYSEC-2026-1145","title":"Apache Airflow Common SQL Provider Vulnerable to SQL Injection","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.\n\nWhen using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.\nThis allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.\n\n\nThis issue affects Apache Airflow Common SQL Provider: before 1.24.1.\n\nUsers are recommended to upgrade to version 1.24.1, which fixes the issue.","status":"published","published":"2026-07-07T16:02:50.879893Z","modified":"2026-07-07T17:46:27.147250793Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:54.622769Z"},{"id":"ROOT-APP-PYPI-CVE-2025-30473","title":"CVE-2025-30473 in rootio-apache-airflow-providers-common-sql - Patched by Root","description":"Root has patched CVE-2025-30473 in the rootio-apache-airflow-providers-common-sql package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-06-03T14:45:29Z","modified":"2026-06-03T19:30:13.889654485Z","updated_at":"2026-11-02T15:53:27.940619Z"}]}}
