Vulnerability · Published Nov 14, 2022 · Assigned by apache

CVE-2022-40127Apache Airflow <2.4.0 has an RCE in a bash example

High 8.8

In plain English

A high-severity code injection in Apache Airflow from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 85.7% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)85.7%top 0.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling2Nuclei, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIapache-airflow2.4.0GHSA-6pw3-8h9w-32gc
PyPIapache-airflow2.4.0PYSEC-2022-42982

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Airflow Apache Airflow – before 2.4.0

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References