Live threats

All CVEs / Apache

CVE-2021-35936Apache Airflow

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
5.5%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Aug 16, 2021
Updated
Nov 27, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-200, CWE-306
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

If remote logging is not used, the worker (in the case of CeleryExecutor) or the scheduler (in the case of LocalExecutor) runs a Flask logging server and is listening on a specific port and also binds on 0.0.0.0 by default. This logging server had no authentication and allows reading log files of DAG jobs. This issue affects Apache Airflow < 2.1.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for Airflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI apache-airflow < 2.1.2 2.1.2 pip install "apache-airflow>=2.1.2"
PyPI apache-airflow < 2.1.2 2.1.2 pip install "apache-airflow>=2.1.2"

Per OSV / GitHub Advisories (GHSA-m6h2-jx9v-58w6, PYSEC-2021-122). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheairflow< 2.1.2

Official sources

References

Links published by the sources. Open them with care.