CVE-2021-26697 Apache Airflow: Lineage API endpoint for Experimental API missed authentication check
Unauthenticated attackers can access lineage metadata for DAGs and tasks via the deprecated Experimental API endpoint in Apache Airflow.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-26697?
CVE-2021-26697 is a medium-severity missing authorization vulnerability in Apache Airflow, published on 17 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The lineage endpoint of the deprecated Experimental API was not protected by authentication in Airflow 2.0.0. This allowed unauthenticated users to hit that endpoint. This is low-severity issue as the attacker needs to be aware of certain parameters to pass to that endpoint and even after can just get some metadata about a DAG and a Task. This issue affects Apache Airflow 2.0.0.
Which versions are affected by CVE-2021-26697?
4 open source packages ship an affected version, including apache-airflow and airflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
apache-airflow PyPI | All versions | 2.0.1 |
apache-airflow PyPI | From 2.0.0 | 2.0.1rc1 |
apache-airflow PyPI | From 2.0.0 | 2.0.1rc1 |
airflow Bitnami | From 2.0.0 | 2.0.1 |
Products include Apache Airflow.
How do I fix CVE-2021-26697?
Upgrade apache-airflow to a fixed version for your release line: 2.0.1 or 2.0.1rc1.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-26697 being exploited?
There is no known exploitation of CVE-2021-26697 in the wild and no public exploit code.
Other vulnerabilities in Apache Airflow
- CVE-2020-13927 Apache Airflow's Experimental API Authentication Bypass
- CVE-2020-11978 Apache Airflow Command Injection
- CVE-2026-33264 Apache Airflow: DAG author RCE on webserver via unrestricted import_string() in BaseSerialization.deserialize()
- CVE-2023-25754 Apache Airflow: Privilege escalation using airflow logs
- CVE-2023-22884 Apache Airflow, Apache Airflow MySQL Provider: Arbitrary file read via MySQL provider in Apache Airflow
Sources
Also known as BIT-airflow-2021-26697, GHSA-fh37-cx83-q542, PYSEC-2021-3.