Skip to content
Heist/ feed
Back to feed
Unrated

Apache Airflow: RCE in example DAGs

Type: advisorySources: OSV

In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them susceptible to OS Command Injection from the web UI.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-24288
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:33 UTC · Revision 1

Source evidence

Apache Airflow: RCE in example DAGs

core-osv · Original source

Published 25 Feb 2022, 08:30 UTC

In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them susceptible to OS Command Injection from the web UI.

osv:CVE-2022-24288
Complete source record
{
  "id": "22cf549f70afa11b038fda482f2fa5759c252c938a166e95267370a663526450",
  "url": "https://osv.dev/vulnerability/CVE-2022-24288",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Airflow: RCE in example DAGs",
    "summary": "In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them susceptible to OS Command Injection from the web UI.",
    "evidence": "osv:CVE-2022-24288",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-24288",
      "aliases": [
        "BIT-airflow-2022-24288",
        "CVE-2022-24288",
        "GHSA-3v7g-4pg3-7r6j",
        "PYSEC-2022-30"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/airflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "be4330b578012a13bbfdcce7e04768ad13b7f08f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "constraints-2.2.4rc1",
            "constraints-2.2.1rc2",
            "constraints-2.2.1rc1",
            "constraints-2.2.3rc2",
            "constraints-2.2.3rc1",
            "constraints-2.2.2rc2",
            "constraints-2.2.2rc1",
            "constraints-2.2.0rc1",
            "constraints-2.2.0b2",
            "constraints-2.2.0b1",
            "constraints-2.1.0rc1",
            "constraints-2.0.1rc1",
            "constraints-2.0.0rc3",
            "constraints-2.0.0rc2",
            "constraints-2.0.0rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24288.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.170361149Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread/dbw5ozcmr0h0lhs0yjph7xdc64oht23t",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24288.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-24288"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2.2.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "SplitRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24288.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-24288",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 509102,
  "published_at": "2022-02-25T08:30:16+00:00"
}