Horizon Alert
Summary of the vulnerability and why it matters
A security flaw in Apache Airflow's CeleryExecutor could allow unauthorized code execution on worker systems if an attacker can access the Celery broker. This means malicious commands could be run on affected systems without needing valid Airflow credentials, potentially impacting operations that rely on these workers.
- Unvalidated callbacks could allow code execution.
- Important for systems using CeleryExecutor.
- Confirm relevance and exposure to Airflow CeleryExecutor.
Attack Path
How an attacker could exploit the issue
An attacker who can send messages to Apache Airflow's Celery broker can enqueue a malicious callback workload. This forged workload bypasses authentication and can trigger arbitrary code execution on all Airflow CeleryExecutor workers.
- Entry condition: Ability to write to the Celery broker.
- Trigger point: Enqueuing a forged callback workload.
- Resulting risk: Arbitrary code execution on workers.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow an attacker to execute arbitrary code on Apache Airflow CeleryExecutor workers. This is possible when the Celery broker is accessible and the attacker can enqueue a forged callback, bypassing authentication checks. The impact is limited to deployments actively using the CeleryExecutor.
- Arbitrary code execution on workers.
- Enqueueing forged callbacks via broker.
- Compromised worker performance and data.
Operational Fix
Recommended remediation, mitigation, and detection steps
Given the context, Apache Airflow deployments using the CeleryExecutor are at risk. The first practical step is to confirm the presence and reachability of these deployments, identify the accountable system owners—likely platform or infrastructure teams—and then prioritize remediation efforts based on business criticality and exposure.
- Identify accountable platform/infrastructure owners.
- Verify CeleryExecutor reachability and criticality.
- Plan remediation based on confirmed risk.