CeleryExecutor is an Apache Airflow execution mode that distributes tasks to Celery workers through a message broker. Airflow places task messages on the broker, and workers retrieve them to perform the assigned work. This lets a deployment run tasks across multiple worker machines.
Because the broker carries work that can lead to code execution, its access controls are part of the security boundary. In attacks, an adversary with permission to write to a broker may be able to inject or alter messages if workers do not adequately authenticate them. Defenders should restrict and authenticate broker access, protect credentials, monitor broker activity, and keep Airflow updated. Workers should also run with only the privileges and network access their tasks require.


