A AegiFlow
CRITICALCVSS 9.8EPSS 4.1%

CVE-2022-40189

OS Command Injection in Apache Airflow

Published
2022-11-22
Modified
2026-10-26
EPSS percentile
91%
Aliases
GHSA-rmf2-pwfq-h75j
Sources
github-advisory

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
PyPIapache-airflow—2.3.0

Remediation: Upgrade to 2.3.0 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.