Skip to content
VulniPulse
High8.8Apache Software Foundation

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

This Apache advisory covers CVE-2022-40127 in Apache Airflow.

Open the Apache advisory

Am I affected by CVE-2022-40127?

You are affected if you run Apache Airflow at one of the versions below. If you do, upgrade to the fixed release listed for your version.

AffectedFixed in
Apache Airflow before 2.4.02.4.0

Official advisory · high-confidence parse· fetched ·verify at source

Key facts

Vendor rating
High, CVSS 8.8
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · base score 8.8, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-94 Improper Control of Generation of Code ('Code Injection')
EPSS
85.1% chance of exploitation in the next 30 days (99th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Source published
Source revised
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationAirflow

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.

Text from the source record.

Support dates for the fixed release lines

All end-of-life dates for Apache Airflow

CVE-2022-40127 questions

Is CVE-2022-40127 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.

Am I affected by CVE-2022-40127?

You are affected if you run Apache Airflow at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.

How do I fix CVE-2022-40127?

Upgrade to a fixed release Apache lists for your version: 2.4.0.

How likely is CVE-2022-40127 to be exploited?

FIRST's EPSS model gives it a 85.1% chance of exploitation in the next 30 days (99th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2022-40127?

Apache rates it high, CVSS 8.8 out of 10.

Apache Software Foundation advisories, November 2022All Apache Software Foundation advisories

Get an email when Apache Airflow publishes the next one.

See Apache Airflow's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).

Alert me about Apache Airflow