# CVE-2022-41131: Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.69%, higher than 77% of CVEs (2026-12-01)
- Published: 2022-11-22T00:00:00.000Z
- Modified: 2026-11-27T13:17:19.473Z
- Also known as: GHSA-cm43-f2pv-6v68, BIT-AIRFLOW-2022-41131, PYSEC-2026-772
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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).

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Airflow Hive Provider: before 4.1.0
- Apache Software Foundation Apache Airflow: 2.3.0
- apache-airflow-providers-apache-hive (PyPI): before 4.1.0
- apache airflow: before 2.3.0
- apache apache-airflow-providers-apache-hive: before 4.1.0
- airflow (Bitnami): before 2.3.0

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## 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

- CVE List: [CVE-2022-41131](https://www.cve.org/CVERecord?id=CVE-2022-41131), CVE Terms of Use, modified 2026-11-27
- GitHub Advisory Database: [GHSA-cm43-f2pv-6v68](https://github.com/advisories/GHSA-cm43-f2pv-6v68), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2022-41131](https://nvd.nist.gov/vuln/detail/CVE-2022-41131), Public domain, modified 2026-11-27
- PyPA Advisory Database: [PYSEC-2026-772](https://osv.dev/vulnerability/PYSEC-2026-772), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2022-41131](https://osv.dev/vulnerability/BIT-AIRFLOW-2022-41131), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-41131 · Whole record: https://cve.day/CVE-2022-41131.json · Rebuilt by cve.day 2026-11-27T13:32:27.069Z
