# CVE-2022-24288: Apache Airflow - RCE

> Live exploitation tracking for CVE-2022-24288 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2022-24288

## Key facts

- **Exploitation phase:** Background Noise. Continuous low-level scanning or exploitation attempts are observed, mostly opportunistic and automated.
- **CVSS score:** 8.8
- **Public exploit available:** Yes
- **Affected products:** Apache Airflow
- **Weaknesses:** CWE-78 (Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'))
- **Tags:** enterprise_software

## 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.

## CrowdSec analysis

[CVE-2022-24288](https://euvd.enisa.europa.eu/vulnerability/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.

## Timeline

- 2022-02-25: CVE Published. CVE-2022-24288 is published to NVD.
- 2025-06-30: Rule Released. CrowdSec releases a rule to detect CVE-2022-24288 exploitation attempts against the CrowdSec Network.
- 2025-07-07: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2022-24288 for the first time.

## References

- https://lists.apache.org/thread/dbw5ozcmr0h0lhs0yjph7xdc64oht23t

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2022-24288) follows observed exploitation activity for CVE-2022-24288. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
