8.8high
Apache Airflow Common SQL Provider: Remote Code Execution via Sql Injection
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.96% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-5r62-mjf5-xwhjPYSEC-2026-1145
Description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider. When 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. This allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have. This issue affects Apache Airflow Common SQL Provider: before 1.24.1. Users are recommended to upgrade to version 1.24.1, which fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| apache-airflow-providers-common-sql | before 1.24.1 | CVE List |
| apache-airflow-providers-common-sql (PyPI) | before 1.24.1 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow_common_sql_provider | before 1.24.1 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider. When 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. This allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have. This issue affects Apache Airflow Common SQL Provider: before 1.24.1. Users are recommended to upgrade to version 1.24.1, which fixes the issue.
NVD (es)
Vulnerabilidad de neutralización incorrecta de elementos especiales utilizados en una vulnerabilidad de comando SQL ('Inyección SQL') en el proveedor SQL común de Apache Airflow. Al usar la cláusula de partición en SQLTableCheckOperator como parámetro (un patrón recomendado), el usuario autenticado de la interfaz de usuario podía inyectar un comando SQL arbitrario al activar el DAG, exponiendo la cláusula de partición al usuario. Esto permitía al usuario que activaba el DAG escalar privilegios para ejecutar dichos comandos arbitrarios, algo que normalmente no tendría. Este problema afecta al proveedor SQL común de Apache Airflow: versiones anteriores a la 1.24.1. Se recomienda actualizar a la versión 1.24.1, que soluciona el problema.
References
| https://github.com/apache/airflow/pull/48098 | issue-tracking, patch, web | |
| https://lists.apache.org/thread/53klkv790cylqcop0350w7nfq1y6h0t2 | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2025/04/04/2 | mailing-list, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2025/04/06/1 | mailing-list, web | |
| http://www.openwall.com/lists/oss-security/2025/04/06/2 | mailing-list, web | |
| http://www.openwall.com/lists/oss-security/2025/04/06/3 | mailing-list, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-30473 | advisory | |
| https://github.com/apache/airflow | package | |
| https://pypi.org/project/apache-airflow-providers-common-sql | package | |
| https://github.com/advisories/GHSA-5r62-mjf5-xwhj | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-30473 changed 2026-02-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5r62-mjf5-xwhj changed 2026-08-07 | CC-BY-4.0 |
| NVD | CVE-2025-30473 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1145 changed 2026-07-07 | CC-BY-4.0 |