Vulnerability record · CVE-2022-24288 · published 25 February 2022
CVE-2022-24288: Apache Airflow example DAGs OS command injection via web UI
Apache · Airflow
Several example DAGs in Apache Airflow before 2.2.4 failed to sanitize user-supplied params, allowing OS command injection. Because the flaw is reachable through the web UI, any user who can trigger those DAGs can run arbitrary commands on the Airflow worker host.
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityCVSS 8.8 with network reachability and low privileges, plus a very high EPSS score, makes this a high-priority fix despite no KEV listing.
What it is
Several example DAGs in Apache Airflow before 2.2.4 failed to sanitize user-supplied params, allowing OS command injection. Because the flaw is reachable through the web UI, any user who can trigger those DAGs can run arbitrary commands on the Airflow worker host.
Impact
An attacker with a low-privileged Airflow account gains arbitrary OS command execution on the host running the affected DAG, leading to full compromise of confidentiality, integrity and availability of that system.
Attack surface
Reached over the network through the Airflow web UI by triggering the vulnerable example DAGs; the CVSS vector requires low privileges (PR:L) and no user interaction (UI:N).
Exploitation
Not listed in CISA KEV and no public exploit tag is present in the references, but EPSS is very high (0.7788, 99.5th percentile), indicating elevated likelihood of exploitation activity.
What to do
- Upgrade Apache Airflow to 2.2.4 or later, which fixes the unsanitized example DAGs.
- If immediate upgrade is not possible, remove or disable the affected example DAGs from the DAGs folder.
- Restrict web UI access to trusted users and enforce least privilege on Airflow roles that can trigger DAGs.
- Run Airflow workers with a dedicated low-privilege OS account and isolate them from sensitive hosts and credentials.
Detection
- Review Airflow web UI and scheduler logs for unexpected DAG runs of example DAGs with unusual params values.
- Monitor worker hosts for child processes spawned by Airflow tasks that invoke shells or unexpected binaries.
- Alert on command-injection patterns (shell metacharacters, pipes, backticks) in DAG run parameters recorded in Airflow metadata.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://lists.apache.org/thread/dbw5ozcmr0h0lhs0yjph7xdc64oht23t | Mailing ListThird Party Advisory |
| https://lists.apache.org/thread/dbw5ozcmr0h0lhs0yjph7xdc64oht23t | Mailing ListThird Party Advisory |
Track CVE-2022-24288 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-24288), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.