Skip to content
On CISA KEVHigh

CVE-2022-40127Airflow OS Command Injection

Apache Airflow vulnerable to OS Command Injection via example DAGs

Published Nov 14, 2022 · Updated Nov 28, 2026 · Also known as BIT-airflow-2022-40127, GHSA-6pw3-8h9w-32gc, PYSEC-2022-42982, ROOT-APP-PYPI-CVE-2022-40127

Key Facts

Patch immediately
  • CVE-2022-40127 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Airflow (Apache), Apache Airflow (pypi).
  • It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Nov 22, 2026. No public exploit code is known.
  • EPSS estimates a 32% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Airflow 2.4.0, Apache Airflow 2.4.0, Apache Airflow 2.3.3+aikido.6.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

32%

Higher than 98.7% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

53/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Nov 22, 2026

1469 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

2

Reports of active use

Description

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CIRCL KEVNov 22, 2026n/aNot reported
Industry KEV feedNov 22, 2026n/aNot reported

Affected Products

5 affected entries in total
ProductAffected versionsFixed in
AirflowApacheSee advisory2.4.0
Apache Airflowpypi>= Apache Airflow2.4.0

Patched Releases

Airflow

2.4.0

Apache Airflow

2.4.0, 2.3.3+aikido.6

Timeline

  1. Publicly disclosed

    Nov 14, 2022

  2. Added to CIRCL KEV

    Nov 22, 2026

  3. Added to Industry KEV feed

    Nov 22, 2026

  4. Last updated

    Nov 28, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
  • CWE-94 Improper Control of Generation of Code

References

7 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-40127 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.