apache-airflow: OS Command Injection in Apache Airflow
What fixes it
- 2.3.0apache-airflow, pipGitHub
- 4.0.0Apache Airlfow Pig ProviderCVE List
- 2.3.0Apache Airflow CVE List
- 2.3.0apache-airflow, PyPIOSV
pip install "apache-airflow>=2.3.0"
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 54
- apache-airflow, pip< 2.3.0GitHub
- Apache Airlfow Pig Provideraffected: unspecified before 4.0.0CVE List
- Apache Airflow affected: unspecified before 2.3.0CVE List
- apache-airflow, PyPIfrom first release, fixed in 2.3.0OSV
- apache-airflow, PyPI1.10.0OSV
- apache-airflow, PyPI1.10.1OSV
- apache-airflow, PyPI1.10.10OSV
- apache-airflow, PyPI1.10.10rc1OSV
- apache-airflow, PyPI1.10.10rc2OSV
- apache-airflow, PyPI1.10.10rc3OSV
- apache-airflow, PyPI1.10.10rc4OSV
- apache-airflow, PyPI1.10.10rc5OSV
- apache-airflow, PyPI1.10.11OSV
- apache-airflow, PyPI1.10.11rc1OSV
- apache-airflow, PyPI1.10.11rc2OSV
- apache-airflow, PyPI1.10.12OSV
- apache-airflow, PyPI1.10.12rc1OSV
- apache-airflow, PyPI1.10.12rc2OSV
- apache-airflow, PyPI1.10.12rc3OSV
- apache-airflow, PyPI1.10.12rc4OSV
- apache-airflow, PyPI1.10.13OSV
- apache-airflow, PyPI1.10.13rc1OSV
- apache-airflow, PyPI1.10.14OSV
- apache-airflow, PyPI1.10.14rc1OSV
- apache-airflow, PyPI1.10.14rc2OSV
- apache-airflow, PyPI1.10.14rc3OSV
- apache-airflow, PyPI1.10.14rc4OSV
- apache-airflow, PyPI1.10.15OSV
- apache-airflow, PyPI1.10.15rc1OSV
- apache-airflow, PyPI1.10.1b1OSV
- apache-airflow, PyPI1.10.1rc2OSV
- apache-airflow, PyPI1.10.2OSV
- apache-airflow, PyPI1.10.2b2OSV
- apache-airflow, PyPI1.10.2rc1OSV
- apache-airflow, PyPI1.10.2rc2OSV
- apache-airflow, PyPI1.10.2rc3OSV
- apache-airflow, PyPI1.10.3OSV
- apache-airflow, PyPI1.10.3b1OSV
- apache-airflow, PyPI1.10.3b2OSV
- apache-airflow, PyPI1.10.3rc1OSV
- apache-airflow, PyPI1.10.3rc2OSV
- apache-airflow, PyPI1.10.4OSV
- apache-airflow, PyPI1.10.4b2OSV
- apache-airflow, PyPI1.10.4rc1OSV
- apache-airflow, PyPI1.10.4rc2OSV
- apache-airflow, PyPI1.10.4rc3OSV
- apache-airflow, PyPI1.10.4rc4OSV
- apache-airflow, PyPI1.10.4rc5OSV
- apache-airflow, PyPI1.10.5OSV
- apache-airflow, PyPI1.10.5rc1OSV
- apache-airflow, PyPI1.10.6OSV
- apache-airflow, PyPI1.10.6rc1OSV
- apache-airflow, PyPI1.10.6rc2OSV
- apache-airflow, PyPI1.10.7OSV
References 6
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-270.yamlAdvisoryvia GitHub
- github.com/advisories/GHSA-rmf2-pwfq-h75jAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2022-40189Referencevia GitHub
- github.com/apache/airflow/pull/27644Referencevia CVE List
- lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15Referencevia CVE List
- pypi.org/project/apache-airflowReferencevia GitHub