CVE Watchtower

CVE-2022-41131Apache Airflow OS Command Injection

NVDCVSS scored by NVD (NIST)

Vulnerability Summary

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).
Severity Level
HIGH(7.8)
Published Date
Nov 22, 2022
Last Modified
Nov 27, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
2.44%Probability
Root Weakness (CWE)
The software constructs all or part of an OS command using externally-influenced input, but does not properly neutralize special elements.
CVSS v3.1 Base Metrics — Score 7.8 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Apache Airflow < 2.3.0
  • Apache-airflow-providers-apache-hive < 4.1.0
  • Apache Software Foundation Apache Airflow Hive Provider < 4.1.0
  • Apache Software Foundation Apache Airflow 2.3.0
Patched Versions
  • Apache Airflow 2.3.0
  • Apache-airflow-providers-apache-hive 4.1.0
  • Apache Software Foundation Apache Airflow Hive Provider 4.1.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Apache Airflow and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 22, 2022Published
  • Nov 27, 2026Record last modified
  • Nov 27, 2026CVSS score changed: 0.0 to 7.8
  • Nov 27, 2026Severity changed to HIGH

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Airflow CVEsYou are reading CVE-2022-41131. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 27, 2026 18:37 UTC