{"api_version":"1","generated_at":"2026-07-23T22:43:00+00:00","cve":"CVE-2022-40127","urls":{"html":"https://cve.report/CVE-2022-40127","api":"https://cve.report/api/cve/CVE-2022-40127.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-40127","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-40127"},"summary":{"title":"CVE-2022-40127","description":"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.","state":"PUBLIC","assigner":"security@apache.org","published_at":"2022-11-14 10:15:00","updated_at":"2022-11-16 18:53:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2022/11/14/2","name":"[oss-security] 20221113 CVE-2022-40127: RCE in Apache Airflow <2.4.0 bash example","refsource":"MLIST","tags":[],"title":"oss-security - CVE-2022-40127: RCE in Apache Airflow <2.4.0 bash example","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/apache/airflow/pull/25960","name":"https://github.com/apache/airflow/pull/25960","refsource":"MISC","tags":[],"title":"Change the template to use human readable task_instance description by potiuk · Pull Request #25960 · apache/airflow · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy","name":"https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy","refsource":"MISC","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40127","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40127","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Apache Airflow PMC would like to thank L3yx of Syclover Security Team.","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"40127","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"airflow","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2022-40127","STATE":"PUBLIC","TITLE":"Apache Airflow <2.4.0 has an RCE in a bash example"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Airflow","version":{"version_data":[{"version_affected":"<","version_name":"Apache Airflow","version_value":"2.4.0"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Airflow PMC would like to thank L3yx of Syclover Security Team."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{"other":"low"}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/apache/airflow/pull/25960","name":"https://github.com/apache/airflow/pull/25960"},{"refsource":"MISC","url":"https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy","name":"https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy"},{"refsource":"MLIST","name":"[oss-security] 20221113 CVE-2022-40127: RCE in Apache Airflow <2.4.0 bash example","url":"http://www.openwall.com/lists/oss-security/2022/11/14/2"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"eng","value":"Do not enable example dags on systems that should not allow UI user to execute an arbitrary command."}]},"nvd":{"publishedDate":"2022-11-14 10:15:00","lastModifiedDate":"2022-11-16 18:53:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","versionEndExcluding":"2.4.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}