Live › vulnerability › CVE-2022-40189
Go to dashboardThe Apache Airflow Pig Provider passes attacker-controlled input into OS commands executed in the task execution context. An attacker who can control task parameters can run arbitrary commands without needing write access to DAG files.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-26 21:11 UTC, 0h before NVD. All times on this page are UTC.
Teams running Apache Airflow with the Pig Provider installed, on any Airflow version before 2.3.0 or with Pig Provider versions before 4.0.0. Installations without the Pig Provider on Airflow 2.3.0+ are not affected by this issue.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| apache-airflow | pypi | < 2.3.0 | 2.3.0 |
| apache airflow | vendor | < 2.3.0 | 2.3.0 |
| apache apache-airflow-providers-apache-pig | vendor | < 4.0.0 | 4.0.0 |
pip show apache-airflow-providers-apache-pig to see whether the Pig Provider is installed and its versionairflow version to check the Airflow core version4.0.0 (pip install apache-airflow-providers-apache-pig==4.0.0), which is required even on Airflow 2.3.0+2.3.0 or later if the Pig Provider is installedEach row is the first time that source carried this signal. The analyst’s rows are its own findings.
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Pig Provider, Apache Airflow allows an attacker to control commands executed in the task execution context, without write access to DAG files. This issue affects Pig Provider versions prior to 4.0.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case Pig Provider is installed (Pig Provider 4.0.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the Pig Provider version 4.0.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version.
This page as .md · .json · in your agent: get_signal("CVE-2022-40189")
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.