CVE-2022-41131Apache Airflow
High 7.8
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 2.4% probability of exploitation in 30 days · percentile 85
- Auth required
- Yes
- Published
- Nov 22, 2022
- Updated
- Nov 27, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Airflow.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-airflow-providers-apache-hive |
< 4.1.0 |
4.1.0 |
pip install "apache-airflow-providers-apache-hive>=4.1.0" |
| PyPI | apache-airflow-providers-apache-hive |
< 4.1.0 |
4.1.0 |
pip install "apache-airflow-providers-apache-hive>=4.1.0" |
Per OSV / GitHub Advisories (GHSA-cm43-f2pv-6v68, PYSEC-2026-772). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | < 2.3.0 |
| apache | apache-airflow-providers-apache-hive | < 4.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- lists.apache.org Issue Tracking Mailing List Third Party Advisory