apache-airflow: OS Command Injection in Apache Airflow
What fixes it
- 2.3.0apache-airflow, pipGitHub
- 4.0.0Apache Airflow Pinot ProviderCVE List
- 2.3.0Apache AirflowCVE 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 Pinot Provider, Apache Airflow allows an attacker to control commands executed in the task execution context, without write access to DAG files. This issue affects Apache Airflow Pinot Provider versions prior to 4.0.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case Apache Airflow Pinot Provider is installed (Apache Airflow Pinot Provider 4.0.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the Pinot 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 Airflow Pinot Provideraffected: unspecified before 4.0.0CVE List
- Apache Airflowaffected: 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 7
- github.com/apache/airflow/commit/1d4fd5c6eacab0b88f8660f9d780174434393f1aFixvia GitHub
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-267.yamlAdvisoryvia GitHub
- github.com/advisories/GHSA-7wqf-h36w-47mcAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2022-38649Referencevia GitHub
- github.com/apache/airflow/pull/27641Referencevia CVE List
- lists.apache.org/thread/033o1gbc4ly6dpd2xf1o201v56fbl4dzReferencevia CVE List
- pypi.org/project/apache-airflowReferencevia GitHub