Missing Authorization in Apache Airflow
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | apache-airflow | < 2.1.2 | 2.1.2 |
References
- https://lists.apache.org/thread.html/r53d6bd7b0a66f92ddaf1313282f10fec802e71246606dd30c16536df%40%3Cusers.airflow.apache.org%3E
- https://github.com/advisories/GHSA-m6h2-jx9v-58w6
- https://nvd.nist.gov/vuln/detail/CVE-2021-35936
- https://github.com/apache/airflow/commit/27265516d2b897585f5019ecd820cfe5471fd351
- https://github.com/apache/airflow/commit/7a5bb88ad78d600fbb1676a55752597928115bd8
- https://github.com/apache/airflow/commit/d772f38f843b9add5319a01cf51a844145b01f63
- https://github.com/apache/airflow
- https://github.com/apache/airflow/compare/2.1.1...2.1.2
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-122.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Weakness (CWE)
CWE-306, CWE-862- Platform
- Python (PyPI)
- Package
apache-airflow- Disclosed
- 16.08.2021
- Updated
- 11.10.2026 11:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2021-122 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-m6h2-jx9v-58w6 - CC BY 4.0
Vulnerability history: apache-airflow
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 158
- First → latest
- 08.2018 09.2026
- Without a fix
- 4
- Exploited in attacks
- 2
Severity breakdown
- Critical 16
- High 49
- Medium 86
- Low 7
Disclosures per year
- 2018: 1
- 2019: 8
- 2020: 12
- 2021: 5
- 2022: 16
- 2023: 31
- 2024: 18
- 2025: 6
- 2026: 61
-
Missing Authorization in Apache Airflow this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.