{
  "id": "CVE-2020-11978",
  "url": "https://poc.griffinguard.io/cve/CVE-2020-11978",
  "published_at": "2020-07-16T00:00:00Z",
  "title": "Apache Airflow Command Injection",
  "vendor": "Apache Software Foundation",
  "product": "Apache Airflow",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-01-18",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 551
  },
  "first_poc": {
    "created_at": "2021-05-22T15:58:01Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 310.7,
    "repo": "pberba/CVE-2020-11978",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [
    {
      "repo": "pberba/CVE-2020-11978",
      "url": "https://github.com/pberba/CVE-2020-11978",
      "created_at": "2021-05-22T15:58:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-01-26T10:08:58Z"
    },
    {
      "repo": "navyaks55/Vulnerability_Exploitation",
      "url": "https://github.com/navyaks55/Vulnerability_Exploitation",
      "created_at": "2022-12-06T15:28:43Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2022-11-25T17:04:03Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "apache-airflow",
        "ranges": [
          "\u003c 1.10.11rc1"
        ],
        "fixed_in": [
          "1.10.11rc1"
        ],
        "ecosystem": "PyPI",
        "advisory": "GHSA-rvmq-4x66-q7j3"
      }
    ],
    "upgrade": [
      "Upgrade apache-airflow to 1.10.11rc1 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/49927",
      "source": "exploitdb",
      "title": "Apache Airflow 1.10.10 - 'Example Dag' Remote Code Execution",
      "published_at": "2021-06-02T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/apache_airflow_dag_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Apache Airflow 1.10.10 - Example DAG Remote Code Execution (exploit/linux/http/apache_airflow_dag_rce)",
      "published_at": "2023-09-17T14:42:26Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-11978.yaml",
      "source": "nuclei",
      "title": "nuclei template: Apache Airflow \u003c=1.10.10 - Remote Code Execution",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/experimental/dags/example_trigger_target_dag/paused/false",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "pberba/CVE-2020-11978"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "pberba/CVE-2020-11978/CVE-2020-11978-min.py:21",
        "pberba/CVE-2020-11978/CVE-2020-11978.py:44"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/experimental/dags/example_trigger_target_dag/tasks/bash_task",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "pberba/CVE-2020-11978"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "pberba/CVE-2020-11978/CVE-2020-11978.py:33"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/experimental/test",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "pberba/CVE-2020-11978"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "pberba/CVE-2020-11978/CVE-2020-11978.py:24"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/experimental/dags/example_trigger_target_dag/dag_runs",
      "body_markers": [
        "\"conf\""
      ],
      "content_type": "application/json",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "pberba/CVE-2020-11978"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "pberba/CVE-2020-11978/CVE-2020-11978-min.py:22",
        "pberba/CVE-2020-11978/CVE-2020-11978.py:52"
      ]
    }
  ],
  "rules": []
}
