7.8high
Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)
- Severity
- 7.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.69% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-cm43-f2pv-6v68BIT-AIRFLOW-2022-41131PYSEC-2026-772
Description
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Hive Provider, Apache Airflow allows an attacker to execute arbtrary commands in the task execution context, without write access to DAG files. This issue affects Hive Provider versions prior to 4.1.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case HIve Provider is installed (Hive Provider 4.1.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the HIve Provider version 4.1.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Hive Provider installed).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Airflow Hive Provider | before 4.1.0 | CVE List |
| Apache Software Foundation Apache Airflow | 2.3.0 | CVE List |
| apache-airflow-providers-apache-hive (PyPI) | before 4.1.0 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow | before 2.3.0 | NVD |
| apache apache-airflow-providers-apache-hive | before 4.1.0 | NVD |
| airflow (Bitnami) | before 2.3.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
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 OS Command ('OS Command Injection') vulnerability in Apache Airflow Hive Provider, Apache Airflow allows an attacker to execute arbtrary commands in the task execution context, without write access to DAG files. This issue affects Hive Provider versions prior to 4.1.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case HIve Provider is installed (Hive Provider 4.1.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the HIve Provider version 4.1.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Hive Provider installed).
NVD (es)
Neutralización inadecuada de elementos especiales utilizados en una vulnerabilidad de comando del sistema operativo ('inyección de comando del sistema operativo') en Apache Airflow Hive Provider, Apache Airflow permite a un atacante ejecutar comandos arbitrarios en el contexto de ejecución de la tarea, sin acceso de escritura a los archivos DAG. Este problema afecta a las versiones del proveedor Hive anteriores a la 4.1.0. También afecta cualquier versión de Apache Airflow anterior a la 2.3.0 en caso de que esté instalado HIve Provider (Hive Provider 4.1.0 solo se puede instalar para Airflow 2.3.0+). Tenga en cuenta que debe instalar manualmente la versión 4.1.0 del proveedor Hive para eliminar la vulnerabilidad además de la versión 2.3.0+ de Airflow que tiene instalada una versión inferior del proveedor Hive).
References
| https://github.com/apache/airflow/pull/27647 | advisory, patch, third-party-advisory, web | |
| https://lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhl | advisory, issue-tracking, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-41131 | advisory, web | |
| https://github.com/apache/airflow | package | |
| https://pypi.org/project/apache-airflow-providers-apache-hive | package | |
| https://github.com/advisories/GHSA-cm43-f2pv-6v68 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-41131 changed 2026-11-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cm43-f2pv-6v68 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2022-41131 changed 2026-11-27 | Public domain |
| PyPA Advisory Database | PYSEC-2026-772 changed 2026-07-07 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2022-41131 changed 2026-09-08 | Apache-2.0 |