{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-40127","id":"CVE-2022-40127","title":"Apache Airflow <2.4.0 has an RCE in a bash example","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.","descriptionLong":"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.","published":"2022-11-14T00:00:00.000Z","updated":"2026-10-28T02:30:38.424517680Z","reserved":"2022-09-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Apache Software Foundation Apache Airflow"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","defaultStatus":null,"versions":[{"version":"Apache Airflow","status":"affected","lessThan":"2.4.0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":["<2.4.0"],"fixed":["2.4.0"],"advisory":"GHSA-6pw3-8h9w-32gc"}],"cwes":["CWE-94","CWE-78"],"aliases":["BIT-airflow-2022-40127","GHSA-6pw3-8h9w-32gc","PYSEC-2022-42982"],"references":[{"url":"https://github.com/apache/airflow/pull/25960","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy","tags":["x_transferred","Mailing List","Third Party Advisory","web","article"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/14/2","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40127.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40127","tags":["advisory"]},{"url":"https://github.com/apache/airflow/commit/372e699c2d1e11f7087b5340454d0a0a6a56fbf5","tags":["web"]},{"url":"https://github.com/apache/airflow","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-42982.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6pw3-8h9w-32gc","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.85653,"epssPercentile":0.9973,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-40127","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40127","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-40127","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6pw3-8h9w-32gc","ok":true,"note":"GHSA-6pw3-8h9w-32gc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-40127","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 86% with CVSS 8.8"],"attention":null}