Skip to content
SSCSentinel Security Center
KEVhigh8.8

CVE-2020-11978: Apache Airflow Command Injection

Apache Airflow · listed in the CISA catalog of actively exploited vulnerabilities since 2022-01-18.

CVSS v3.1 (CISA ADP)
8.8
high
EPSS (exploit probability, 30 days)
99.1%
among the highest 0.1% of all CVEs
Added to CISA KEV
2022-01-18
US federal due date 2022-07-18
Automatable (CISA SSVC)
no
technical impact: total

CVE-2020-11978 explained

CVE-2020-11978 is an OS command injection vulnerability in an example DAG shipped with Apache Airflow 1.10.10 and earlier. Any authenticated user can run arbitrary commands as the user running the Airflow worker or scheduler. CISA lists it as known to be exploited, so affected deployments need prompt attention.

Impact

An authenticated attacker with low privileges can run arbitrary commands over the network, with no user interaction. The commands run as the account running the Airflow worker or scheduler, depending on the executor in use. CISA rates the technical impact as total, meaning full control of the affected component. CISA rates it as not automatable. Systems are not vulnerable if example DAGs are disabled with load_examples=False.

Who is affected

The CVE record lists Apache Software Foundation Apache Airflow versions ≤ 1.10.10 as affected. The record names no fixed version. Check the Apache Airflow vendor advisory for the release that contains the fix. Installations that already set load_examples=False in the configuration are not vulnerable, according to the description.

Written with AI from the data on this page and checked against it automatically.

Official 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 required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Apache Software Foundation Apache Airflow
    Affected
    • ≤ 1.10.10
    Fixed in
    not stated

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: lists.apache.org/thread.html/r7255cf0be3566f23a768e2a04b4…
  • CISA's deadline for US federal agencies: 2022-07-18 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Apply updates per vendor instructions, as CISA requires, using the Apache Airflow advisory to pick a fixed release.
  2. Set load_examples=False in the Airflow configuration so the example DAGs are not loaded.
  3. Review which users can authenticate to Airflow and remove unnecessary accounts.
  4. Keep the Airflow web interface off the internet and limit access to trusted networks.
  5. Check worker and scheduler hosts for unexpected commands or processes that may indicate compromise.

The CVE record names no fixed version. Follow the Apache Airflow vendor advisory to identify the release with the fix, and apply updates per vendor instructions as CISA requires. Until then, set load_examples=False to disable the example DAGs, which removes the exposure according to the description. Also restrict who can authenticate to Airflow.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Questions about CVE-2020-11978

Am I vulnerable if I disabled example DAGs?
No. According to the description, installations that set load_examples=False in the configuration are not vulnerable.
Is this vulnerability exploited in the wild?
Yes. CISA added CVE-2020-11978 to its Known Exploited Vulnerabilities catalog on 2022-01-18, with a US federal due date of 2022-07-18. Ransomware use is listed as unknown.
Does an attacker need an account?
Yes. The attacker must be an authenticated user, but only low privileges are needed. Commands then run as the user running the Airflow worker or scheduler.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-28. Always confirm with the vendor's or distribution's advisory before patching.