Live threats

All CVEs / Apache

CVE-2022-40189Apache Airflow

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
5.8%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Nov 22, 2022
Updated
Nov 27, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Airflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI apache-airflow < 2.3.0 2.3.0 pip install "apache-airflow>=2.3.0"
PyPI apache-airflow < 2.3.0 2.3.0 pip install "apache-airflow>=2.3.0"

Per OSV / GitHub Advisories (GHSA-rmf2-pwfq-h75j, PYSEC-2026-270). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheairflow< 2.3.0
apacheapache-airflow-providers-apache-pig< 4.0.0

Official sources

References

Links published by the sources. Open them with care.