---
id: CVE-2021-35936
title: >-
  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
summary: >-
  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 …
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-200
  - CWE-306
vendor: apache
product: airflow
affected:
  - airflow < 2.1.2
patched:
  - airflow 2.1.2
published: '2021-08-16'
updated: '2026-11-27'
sourceUpdated: '2026-11-27T13:17:16.787'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-35936'
references:
  - url: >-
      https://lists.apache.org/thread.html/r53d6bd7b0a66f92ddaf1313282f10fec802e71246606dd30c16536df%40%3Cusers.airflow.apache.org%3E
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/r53d6bd7b0a66f92ddaf1313282f10fec802e71246606dd30c16536df%40%3Cusers.airflow.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0545
epssPercentile: 0.93513
ingestedAt: '2026-11-27T13:44:44.665Z'
---

## Overview

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

- `airflow < 2.1.2`

## Remediation

Upgrade past the affected range:

- `airflow 2.1.2`
