title: Overly permissive umask for daemons
description: In Apache Airflow prior to 2.3.4, an insecure umask was configured for numerous Airflow components when running with the `--daemon` flag which could result in a race condition giving world-writable files in the Airflow home directory and allowing local users to expose arbitrary file contents via the webserver.
problem types: Overly permissive umask for deamons
affected:
{
product: Apache Airflow
vendor: Apache Software Foundation
versions:
lessThanOrEqual: 2.3.3, status: affected, version: Apache Airflow, versionType: custom
}
workarounds: Run without the `--daemon` flag via a process supervisor instead (systemd, runit, etc.).