{"schemaVersion":3,"id":"CVE-2020-11978","aliases":["GHSA-rvmq-4x66-q7j3","BIT-airflow-2020-11978","PYSEC-2020-14"],"status":"published","duplicateOf":null,"title":"Apache Airflow Command Injection","description":"An issue was found in Apache Airflow versions 1.10.10 and below. A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow which would allow any authenticated user to run arbitrary commands as the user running airflow worker/scheduler (depending on the executor in use). If you already have examples disabled by setting load_examples=False in the config then you are not vulnerable.","dates":{"published":"2020-07-16T00:00:00.000Z","modified":"2025-10-21T23:35:39.214Z","reserved":null,"kevAdded":["2022-01-18T00:00:00.000Z"],"kevDue":["2022-07-18T00:00:00.000Z"]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","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/E:A","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.99189,"percentile":0.99935,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.99189},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99189,"percentile":0.99935}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99189,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99189,"percentile":0.99935}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-01-18T00:00:00.000Z","dueDate":"2022-07-18T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Apache Airflow Command Injection","description":"A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2020-11978","label":"nvd.nist.gov/vuln/detail/CVE-2020-11978"}],"vendor":"Apache","product":"Airflow","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-01-18T00:00:00.000Z","dueDate":"2022-07-18T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Apache Airflow Command Injection","description":"A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2020-11978","label":"nvd.nist.gov/vuln/detail/CVE-2020-11978"}],"vendor":"Apache","product":"Airflow","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_19E1AC0B8771FA9E","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/162908/Apache-Airflow-1.10.10-Remote-Code-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_F5C3C293899DFBBC","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/174764/Apache-Airflow-1.10.10-Remote-Code-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"49927","name":"Apache Airflow 1.10.10 - 'Example Dag' Remote Code Execution","source":"exploit-database","url":"https://www.exploit-db.com/exploits/49927","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"multiple","file":"exploits/multiple/webapps/49927.py","codes":["CVE-2020-13927","CVE-2020-11978"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_APACHE_AIRFLOW_DAG_RCE","name":"Apache Airflow 1.10.10 - Example DAG Remote Code Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/apache_airflow_dag_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/apache_airflow_dag_rce","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":4,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"apache software foundation","product":"apache airflow","name":"Apache Airflow","label":"apache airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.10.10 and below","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.10.10 and below","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow"},{"vendor":"apache","product":"airflow","name":"Airflow","label":"airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.10.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.11","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-airflow","label":"Apache Airflow","category":"framework"}},"hubHref":"/vendor/apache/airflow"},{"vendor":"PyPI","product":"apache-airflow","name":"apache-airflow","label":"apache-airflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/apache-airflow","purlType":"pypi","versions":[{"text":"< 1.10.11rc1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.11rc1","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/r7255cf0be3566f23a768e2a04b40fb09e52fcd1872695428ba9afe91%40%3Cusers.airflow.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB","Mailing List","Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/162908/Apache-Airflow-1.10.10-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/162908/Apache-Airflow-1.10.10-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["WEB","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/174764/Apache-Airflow-1.10.10-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/174764/Apache-Airflow-1.10.10-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["WEB","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-11978","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-11978","hostname":"www.cisa.gov","tags":["Government Resource","WEB","Third Party Advisory","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11978","label":"nvd.nist.gov/vuln/detail/CVE-2020-11978","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/airflow/pull/9143","label":"github.com/apache/airflow/pull/9143","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/airflow/commit/2fa51576e1283f5732e38fada686fd248d9c3a1e","label":"github.com/apache/airflow/commit/2fa51576e1283f5732e38fada686fd248d9c3a1e","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/airflow/commit/4d8599e8b0520ff4226fbad72f724afae50fdd08","label":"github.com/apache/airflow/commit/4d8599e8b0520ff4226fbad72f724afae50fdd08","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/airflow","label":"github.com/apache/airflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2020-14.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2020-14.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-rvmq-4x66-q7j3","label":"github.com/advisories/GHSA-rvmq-4x66-q7j3","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-07-16T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-01-18T00:00:00.000Z","label":"Added to CISA KEV","detail":"Apache Airflow Command Injection","source":"cisa"},{"kind":"kev-due","date":"2022-07-18T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2025-10-21T23:35:39.214Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:33:43.959Z","stale":false,"partial":false}}