CVE-2022-41131: apache software foundation apache airflow OS Command Injection
Vulnerability summary
CVE-2022-41131 is a high (CVSS 7.8) OS Command Injection vulnerability in apache software foundation apache airflow. EPSS estimates a 1.75% chance of exploitation in the next 30 days, higher than 77.4% of scored vulnerabilities.
Timeline
- 22-11-2022PublishedVulnerability first disclosed.
- 29-04-2025Last modifiedVulnerability information updated.
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).
CVSS metrics
3 scores · 3 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.75%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
-0.08 pp
From 1.82% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apache2 products
- airflow< 2.3.0
- apache-airflow-providers-apache-hive< 4.1.0
Apache software foundation2 products
- apache airflow2.3.0
- apache airflow hive provider≥ unspecified, < 4.1.0
PyPI1 product
- apache-airflow-providers-apache-hive< 4.1.0
3 vendors · 5 products
References
6 links- lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhlWEBIssue TrackingMailing ListThird Party Advisory
- github.com/apache/airflowPACKAGE