CVE-2021-35936Apache Airflow
Medium 5.3 No auth needed
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Airflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | < 2.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory