Skip to content
Heist/ feed
Back to feed
HighFix available

Apache Airflow Task SDK Callback deserialization can import arbitrary modules in the scheduler

Type: advisorySources: OSV2 source records

Apache Airflow's Task SDK rebuilt a `Callback` object from serialized data by re-running its constructor, which imports the module named by the stored callback path. Because `SyncCallback` is itself an Airflow class it passes the default `allowed_deserialization_classes` allow-list, so tightening that setting does not help. A Dag author — who controls a task instance's `next_kwargs` through the task execution API — can therefore cause an arbitrary module to be imported inside the scheduler process, when the scheduler's `awaiting_input` timeout sweep deserializes that value. No non-default configuration is required; the sweep runs unconditionally. Versions before 3.3.0 are not affected: the class existed, but the scheduler sweep that reaches it did not. This is a separate code path from CVE-2026-58076 and CVE-2026-67260, which cover different gadgets reaching deserialization — applying either of those fixes does not address this one. Users are advised to upgrade to apache-airflow 3.3.1 or later.

Products
apache-airflow
Affected versions
3.3.0, 3.3.1rc1, 3.3.1rc2
Fixed versions
3.3.1
CVEs
CVE-2026-67587
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 18:13 UTC · Revision 2

Source evidence

Apache Airflow Task SDK Callback deserialization can import arbitrary modules in the scheduler

core-osv · Original source

Published 12 Aug 2026, 18:31 UTC

Apache Airflow's Task SDK rebuilt a `Callback` object from serialized data by re-running its constructor, which imports the module named by the stored callback path. Because `SyncCallback` is itself an Airflow class it passes the default `allowed_deserialization_classes` allow-list, so tightening that setting does not help. A Dag author — who controls a task instance's `next_kwargs` through the task execution API — can therefore cause an arbitrary module to be imported inside the scheduler process, when the scheduler's `awaiting_input` timeout sweep deserializes that value. No non-default configuration is required; the sweep runs unconditionally. Versions before 3.3.0 are not affected: the class existed, but the scheduler sweep that reaches it did not. This is a separate code path from CVE-2026-58076 and CVE-2026-67260, which cover different gadgets reaching deserialization — applying either of those fixes does not address this one. Users are advised to upgrade to apache-airflow 3.3.1 or later.

osv:GHSA-2qjv-p2gc-mjg2

apache-airflow

Fixed versions: 3.3.1

Complete source record
{
  "id": "e8fb1d1156b7f47d9a955e9f25713c1a495e0f31faf197d522724784127a6b71",
  "url": "https://osv.dev/vulnerability/GHSA-2qjv-p2gc-mjg2",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Airflow Task SDK Callback deserialization can import arbitrary modules in the scheduler",
    "summary": "Apache Airflow's Task SDK rebuilt a `Callback` object from serialized data by re-running its constructor, which imports the module named by the stored callback path. Because `SyncCallback` is itself an Airflow class it passes the default `allowed_deserialization_classes` allow-list, so tightening that setting does not help. A Dag author — who controls a task instance's `next_kwargs` through the task execution API — can therefore cause an arbitrary module to be imported inside the scheduler process, when the scheduler's `awaiting_input` timeout sweep deserializes that value. No non-default configuration is required; the sweep runs unconditionally. Versions before 3.3.0 are not affected: the class existed, but the scheduler sweep that reaches it did not. This is a separate code path from CVE-2026-58076 and CVE-2026-67260, which cover different gadgets reaching deserialization — applying either of those fixes does not address this one. Users are advised to upgrade to apache-airflow 3.3.1 or later.",
    "evidence": "osv:GHSA-2qjv-p2gc-mjg2",
    "products": [
      {
        "name": {
          "value": "apache-airflow",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.3.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.3.0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.1rc1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.1rc2",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "GHSA-2qjv-p2gc-mjg2",
      "aliases": [
        "BIT-airflow-2026-67587",
        "CVE-2026-67587",
        "GHSA-2qjv-p2gc-mjg2",
        "PYSEC-2026-3708"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.3.0"
                },
                {
                  "fixed": "3.3.1"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-airflow",
            "purl": "pkg:pypi/apache-airflow",
            "ecosystem": "PyPI"
          },
          "versions": [
            "3.3.0",
            "3.3.1rc1",
            "3.3.1rc2"
          ],
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-2qjv-p2gc-mjg2/GHSA-2qjv-p2gc-mjg2.json"
          }
        }
      ],
      "modified": "2026-10-02T23:40:52.688196939Z",
      "provider": "osv",
      "references": [
        "https://nvd.nist.gov/vuln/detail/CVE-2026-67587",
        "https://github.com/apache/airflow/pull/70704",
        "https://github.com/apache/airflow/commit/1baee0bf987eb220f15398e43572e1ed819a0130",
        "https://github.com/apache/airflow/commit/2b598cb8b0570c941633be3d16a7eb912f73180c",
        "https://github.com/apache/airflow",
        "https://github.com/apache/airflow/releases/tag/3.3.1",
        "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3708.yaml",
        "https://lists.apache.org/thread/o00ww4n69qojvsckb464dtwd2nhzy6t0",
        "https://www.cve.org/CVERecord?id=CVE-2026-58076",
        "https://www.cve.org/CVERecord?id=CVE-2026-67260"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "severity": "HIGH",
        "github_reviewed": true,
        "nvd_published_at": "2026-08-12T16:17:15Z",
        "github_reviewed_at": "2026-10-02T23:15:27Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-67587",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 81402,
  "published_at": "2026-08-12T18:31:18+00:00"
}

PYSEC-2026-3708

core-osv · Original source

Published 12 Aug 2026, 16:17 UTC

Apache Airflow's Task SDK rebuilt a `Callback` object from serialized data by re-running its constructor, which imports the module named by the stored callback path. Because `SyncCallback` is itself an Airflow class it passes the default `allowed_deserialization_classes` allow-list, so tightening that setting does not help. A Dag author — who controls a task instance's `next_kwargs` through the task execution API — can therefore cause an arbitrary module to be imported inside the scheduler process, when the scheduler's `awaiting_input` timeout sweep deserializes that value. No non-default configuration is required; the sweep runs unconditionally. Versions before 3.3.0 are not affected: the class existed, but the scheduler sweep that reaches it did not. This is a separate code path from CVE-2026-58076 and CVE-2026-67260, which cover different gadgets reaching deserialization — applying either of those fixes does not address this one. Users are advised to upgrade to apache-airflow 3.3.1 or later.

osv:PYSEC-2026-3708

apache-airflow

Fixed versions: 3.3.1

Complete source record
{
  "id": "351d63f1742f4b80439693cdc57aeaf4aaf5afb8d4b1c584629fd1b1b7090db5",
  "url": "https://osv.dev/vulnerability/PYSEC-2026-3708",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PYSEC-2026-3708",
    "summary": "Apache Airflow's Task SDK rebuilt a `Callback` object from serialized data by re-running its constructor, which imports the module named by the stored callback path. Because `SyncCallback` is itself an Airflow class it passes the default `allowed_deserialization_classes` allow-list, so tightening that setting does not help. A Dag author — who controls a task instance's `next_kwargs` through the task execution API — can therefore cause an arbitrary module to be imported inside the scheduler process, when the scheduler's `awaiting_input` timeout sweep deserializes that value. No non-default configuration is required; the sweep runs unconditionally. Versions before 3.3.0 are not affected: the class existed, but the scheduler sweep that reaches it did not. This is a separate code path from CVE-2026-58076 and CVE-2026-67260, which cover different gadgets reaching deserialization — applying either of those fixes does not address this one. Users are advised to upgrade to apache-airflow 3.3.1 or later.",
    "evidence": "osv:PYSEC-2026-3708",
    "products": [
      {
        "name": {
          "value": "apache-airflow",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.3.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.3.0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.1rc1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.1rc2",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "PYSEC-2026-3708",
      "aliases": [
        "BIT-airflow-2026-67587",
        "CVE-2026-67587",
        "GHSA-2qjv-p2gc-mjg2",
        "PYSEC-2026-3708"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.3.0"
                },
                {
                  "fixed": "3.3.1"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-airflow",
            "purl": "pkg:pypi/apache-airflow",
            "ecosystem": "PyPI"
          },
          "versions": [
            "3.3.0",
            "3.3.1rc1",
            "3.3.1rc2"
          ],
          "database_specific": {
            "source": "https://github.com/pypa/advisory-database/blob/main/vulns/apache-airflow/PYSEC-2026-3708.yaml"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-15T14:45:07.391263468Z",
      "provider": "osv",
      "references": [
        "https://www.cve.org/CVERecord?id=CVE-2026-58076",
        "https://www.cve.org/CVERecord?id=CVE-2026-67260",
        "https://lists.apache.org/thread/o00ww4n69qojvsckb464dtwd2nhzy6t0",
        "https://github.com/apache/airflow/pull/70704",
        "https://github.com/advisories/GHSA-2qjv-p2gc-mjg2"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-67587",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 332642,
  "published_at": "2026-08-12T16:17:15.09+00:00"
}