CVE-2022-41131
HIGH 7.8CVSS 3.1Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)
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).
- Published
- 22 Nov 2022
- Last modified
- 27 Nov 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- BIT-airflow-2022-41131GHSA-cm43-f2pv-6v68PYSEC-2026-772
- Sources
- NVDJSONCVE ListJSONOSV GHSA-cm43-f2pv-6v68JSONOSV PYSEC-2026-772JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | airflowcpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* |
< 2.3.0 | 2.3.0 |
| NVD | apache | apache-airflow-providers-apache-hivecpe:2.3:a:apache:apache-airflow-providers-apache-hive:*:*:*:*:*:*:*:* |
< 4.1.0 | 4.1.0 |
| CVE List | Apache Software Foundation | Apache Airflow Hive Provider | < 4.1.0 | 4.1.0 |
| CVE List | Apache Software Foundation | Apache Airflow | = 2.3.0 | |
| OSV | PyPI | apache-airflow-providers-apache-hive | < 4.1.0 | 4.1.0 |
References
- https://github.com/apache/airflow/pull/27647 · Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhl · Issue Tracking, Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41131 · ADVISORY
- 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
History
- 27 Nov 2026 14:57 UTC · NVD: updated (other details)
- 27 Nov 2026 13:57 UTC · CVE List: first stored (published 22 Nov 2022)
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 22 Nov 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Nov 2022)