Apache Airflow - RCE (CVE-2022-24288)
Description
In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them susceptible to OS Command Injection from the web UI.
psychologyCrowdSec Analysis
CVE-2022-24288 is a remote code execution vulnerability in Apache Airflow versions prior to 2.2.4, where insufficient sanitization of user-supplied parameters in example DAGs allows attackers to inject and execute arbitrary operating system commands via the web UI. This flaw could be exploited to gain unauthorized control over the underlying server, potentially leading to data breaches or further compromise of the environment.
CrowdSec has been tracking this vulnerability and its exploits since 30th of June 2025.
According to CrowdSec data, while opportunistic exploitation dominates, a portion of threat actors trying to exploit CVE-2022-24288 apply basic targeting methods such as port or service detection. This indicates emerging patterns of selective targeting. In addition, according to the CrowdSec network, attack volume against CVE-2022-24288 has dipped slightly compared to the previous week. Although still commonly targeted, the decline suggests a cooling-off period. Long-term relevance remains, but attention is waning.
Attackers exploit Apache Airflow instances by targeting the /admin/airflow/code or /code endpoints with the dag_id=example_passing_params_via_test_command parameter, which is vulnerable to OS command injection in affected versions.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2022-02-25 |
| Rule Released | 2025-06-30 |
| CrowdSec First Seen | 2025-07-07 |