{"id":"CVE-2022-24288","published":"2022-02-25T08:30:16Z","modified":"2024-08-03T04:07:02Z","title":"Apache Airflow: RCE in example DAGs","vendor":"Apache Software Foundation","product":"Apache Airflow","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[">= unspecified, < 2.2.4"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Apache Airflow versions prior to 2.2.4 contain an OS command injection flaw in some of its example DAGs, which fail to properly sanitize user-provided params. An attacker who can supply params through the web UI can inject operating system commands that the DAG executes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:16:14Z"},"cvss":null,"epss":{"score":0.7788,"percentile":0.9957,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-12-08","exploitedFirstSeen":"2023-12-08","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-08&host_type=src&vulnerability=cve-2022-24288","date":"2023-12-08"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-03&host_type=src&vulnerability=cve-2022-24288","date":"2024-01-03"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-07&host_type=src&vulnerability=cve-2022-24288","date":"2024-01-07"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-07&host_type=src&vulnerability=cve-2022-24288","date":"2024-02-07"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-09&host_type=src&vulnerability=cve-2022-24288","date":"2024-02-09"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-03-01&host_type=src&vulnerability=cve-2022-24288","date":"2024-03-01"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-03-04&host_type=src&vulnerability=cve-2022-24288","date":"2024-03-04"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-03-06&host_type=src&vulnerability=cve-2022-24288","date":"2024-03-06"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-03-10&host_type=src&vulnerability=cve-2022-24288","date":"2024-03-10"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-03-17&host_type=src&vulnerability=cve-2022-24288","date":"2024-03-17"}],"evidenceTotal":19,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Apache Products Multiple Vulnerabilities","url":"https://otx.alienvault.com/pulse/621f5cf593cce06e2eb85437","created":"2022-03-02"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://lists.apache.org/thread/dbw5ozcmr0h0lhs0yjph7xdc64oht23t","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":["<2.2.4"],"patched":["2.2.4"],"from":["GHSA-3v7g-4pg3-7r6j","PYSEC-2022-30"],"provenance":"source"}],"advisories":[{"id":"GHSA-3v7g-4pg3-7r6j","url":"https://github.com/advisories/GHSA-3v7g-4pg3-7r6j","severity":"HIGH","ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":["<2.2.4"],"patched":["2.2.4"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-0013","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-0013","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2022-24288","name":"Apache Airflow OS Command Injection","severity":"high","path":"http/cves/2022/CVE-2022-24288.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24288.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-02-25","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-24288","provenance":"source"},{"date":"2023-12-08","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-08&host_type=src&vulnerability=cve-2022-24288","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":60.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1056 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9957"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2021-38540","published":"2021-09-09","fixed":"2.1.3","kev":false},{"cve":"CVE-2021-45230","published":"2022-01-20","fixed":"2.2.0","kev":false},{"cve":"CVE-2021-45229","published":"2022-02-25","fixed":"2.2.4rc1","kev":false,"link":{"from":"CVE-2021-45229","to":"CVE-2022-24288","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.2.4rc1","toFixed":"2.2.4","daysApart":0}]}},{"cve":"CVE-2022-24288","published":"2022-02-25","fixed":"2.2.4","kev":false},{"cve":"CVE-2022-38649","published":"2022-11-22","fixed":"2.3.0","kev":false,"link":{"from":"CVE-2022-24288","to":"CVE-2022-38649","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.2.4","toFixed":"2.3.0","daysApart":270}]}},{"cve":"CVE-2022-40189","published":"2022-11-22","fixed":"2.3.0","kev":false,"link":{"from":"CVE-2022-24288","to":"CVE-2022-40189","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.2.4","toFixed":"2.3.0","daysApart":270}]}},{"cve":"CVE-2022-40954","published":"2022-11-22","fixed":"2.3.0","kev":false,"link":{"from":"CVE-2022-24288","to":"CVE-2022-40954","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.2.4","toFixed":"2.3.0","daysApart":270}]}}],"package":"PyPI:apache-airflow"}}