CVE-2022-40189

published 22 Nov 2022 · updated 29 Apr 2025

Apache Airlfow Pig Provider RCE

9.8CriticalCVSS 9.8EPSS 5%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 5%. Fixed in 2.3.0 and 4.0.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation<2.3.0, <4.0.02.3.0, 4.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-40189 severity on Zeptric[![CVE-2022-40189](https://zeptric.io/badge/cve/CVE-2022-40189.svg)](https://zeptric.io/cve/CVE-2022-40189)