{"id":"CVE-2022-40127","aliases":["CVE-2022-40127","GHSA-6pw3-8h9w-32gc","BIT-AIRFLOW-2022-40127","PYSEC-2022-42982"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow <2.4.0 has an RCE in a bash example","summary":"A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0.","source":"cvelist"},{"lang":"en","text":"A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow versions prior to 2.4.0.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad en Dags de ejemplo de Apache Airflow permite a un atacante con acceso a la interfaz de usuario que puede activar DAG ejecutar comandos arbitrarios a través del parámetro run_id proporcionado manualmente. Este problema afecta a las versiones de Apache Airflow Apache Airflow anteriores a la 2.4.0.","source":"nvd"}],"published":"2022-11-14T00:00:00.000Z","modified":"2026-11-27T13:17:18.470Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-78","CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.4.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.4.0"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.4.0"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.4.0"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.4.0"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://github.com/apache/airflow/pull/25960","tags":["advisory","fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy","tags":["advisory","article","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/14/2","tags":["advisory","article","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40127","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/airflow/commit/372e699c2d1e11f7087b5340454d0a0a6a56fbf5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-42982.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-6pw3-8h9w-32gc","tags":["advisory"],"sources":["pysec"]}],"credits":["Apache Airflow PMC would like to thank L3yx of Syclover Security Team."],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-30T18:58:19.200Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-40127","url":"https://www.cve.org/CVERecord?id=CVE-2022-40127","licence":"CVE Terms of Use","modified":"2026-11-27T12:56:23.200Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6pw3-8h9w-32gc","url":"https://github.com/advisories/GHSA-6pw3-8h9w-32gc","licence":"CC-BY-4.0","modified":"2025-05-01T13:37:00.376Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-40127","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40127","licence":"Public domain","modified":"2026-11-27T13:17:18.470Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-42982","url":"https://osv.dev/vulnerability/PYSEC-2022-42982","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:19.937Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2022-40127","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2022-40127","licence":"Apache-2.0","modified":"2026-09-08T08:45:21.506Z"}],"updatedAt":"2026-11-27T13:32:14.344Z","epss":{"score":0.85129,"percentile":0.99714,"date":"2026-12-01T12:00:22.000Z"}}