9.8

CVE-2022-40189: apache software foundation apache airflow OS Command Injection

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-rmf2-pwfq-h75jBIT-airflow-2022-40189PYSEC-2026-270
Published 22-11-2022Last modified 29-04-2025

Vulnerability summary

CVE-2022-40189 is a critical (CVSS 9.8) OS Command Injection vulnerability in apache software foundation apache airflow. EPSS estimates a 4.08% chance of exploitation in the next 30 days, higher than 90.5% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
4.08%
0%100%
Low · -0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 22-11-2022
    PublishedVulnerability first disclosed.
  2. 29-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

4.08%

Chance of exploitation in the next 30 days

Percentile

91%

Versus all other CVEs

30-day change

-0.03 pp

From 4.11% on 18-09-2026

18-09-202618-10-2026
EPSS score
4.08%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache2 products
Apache software foundation2 products
PyPI1 product
  • apache-airflow< 2.3.0

3 vendors · 5 products

References

6 links