ZeroHour

CVE-2020-11978

KEV PoC ×2moderate

Authenticated Command Injection via Example DAGs in Apache Airflow (<=1.10.10)

CISA: Apache Airflow Command Injection

CVSS 3.1
8.8 high
EPSS
99%p100
Published
()
KEV added
AI analysis

CVE-2020-11978 is an OS command injection flaw (CWE-78) in the example DAGs shipped by default with Apache Airflow 1.10.10 and earlier. Any authenticated user can trigger one of these bundled example DAGs and inject arbitrary shell commands, which execute under the account running the Airflow worker or scheduler depending on the executor in use. Successful exploitation gives an attacker remote code execution with those privileges on the workflow infrastructure. Only deployments running Airflow 1.10.10 or below that load the default example DAGs (i.e., load_examples is not set to False in the config) are affected. The flaw is listed in CISA's Known Exploited Vulnerabilities Catalog (added 2022-01-18), has public PoCs available, and EPSS assigns a 99.2% probability of exploitation within 30 days, indicating an active exploitation threat.

What to do: Upgrade Apache Airflow to a version newer than 1.10.10 per vendor instructions; as an interim mitigation, set load_examples=False in the configuration so the vulnerable example DAGs are not loaded. Verify no example DAGs remain enabled in production, and review command and process history under the airflow worker/scheduler user for signs of exploitation, given the KEV listing and very high EPSS score.

Affected
Apache Airflow1.10.10 and below (deployments with example DAGs loaded, i.e., load_examples not set to False)
Estimated exposure
moderateon the order of 10,000 internet-exposed Airflow instances, of which a smaller subset runs <=1.10.10 with default example DAGs enabled — Public internet scans have identified roughly 10,000 exposed Apache Airflow web interfaces, and the vulnerable subset is limited to older deployments using the default example-DAG configuration and requiring authenticated access, so this…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

An issue was found in Apache Airflow versions 1.10.10 and below. A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow which would allow any authenticated user to run arbitrary commands as the user running airflow worker/scheduler (depending on the executor in use). If you already have examples disabled by setting load_examples=False in the config then you are not vulnerable.

CISA Known Exploited Vulnerability
Affected
Apache Airflow
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
apache
Products
airflow
Weakness
CWE-78
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news