Apache Airflow scheduler unsafely deserializes human-in-the-loop task next_kwargs
Apache Airflow 3.3.0 moved human-in-the-loop tasks from the triggerer to a new `awaiting_input` task state swept by the scheduler. That sweep deserializes the task instance's `next_kwargs` without an allow-list, so a Dag author — who controls that value through the task execution API — can cause an arbitrary module import and object instantiation inside the scheduler process, or terminate the scheduler job. No non-default configuration is required: the sweep runs unconditionally every 15 seconds, and the default `allowed_deserialization_classes` setting does not cover this code path. Versions before 3.3.0 are not affected, because human-in-the-loop tasks deferred onto the triggerer instead. This is a different code path from CVE-2026-58076, which covers the same unguarded exception-node deserialization reached elsewhere — deployments that applied that fix must upgrade for this issue as well. 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-67260
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 18:13 UTC · Revision 2
Source evidence
Apache Airflow scheduler unsafely deserializes human-in-the-loop task next_kwargs
core-osv · Original sourcePublished 12 Aug 2026, 18:31 UTC
Apache Airflow 3.3.0 moved human-in-the-loop tasks from the triggerer to a new `awaiting_input` task state swept by the scheduler. That sweep deserializes the task instance's `next_kwargs` without an allow-list, so a Dag author — who controls that value through the task execution API — can cause an arbitrary module import and object instantiation inside the scheduler process, or terminate the scheduler job. No non-default configuration is required: the sweep runs unconditionally every 15 seconds, and the default `allowed_deserialization_classes` setting does not cover this code path. Versions before 3.3.0 are not affected, because human-in-the-loop tasks deferred onto the triggerer instead. This is a different code path from CVE-2026-58076, which covers the same unguarded exception-node deserialization reached elsewhere — deployments that applied that fix must upgrade for this issue as well. Users are advised to upgrade to apache-airflow 3.3.1 or later.
osv:GHSA-q4c3-7575-55j2
apache-airflow
Fixed versions: 3.3.1
Complete source record
{
"id": "deb7c79d123e07c961b461d0d9b3b3ca98aac34170083f5a8da807f58c56cfc6",
"url": "https://osv.dev/vulnerability/GHSA-q4c3-7575-55j2",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache Airflow scheduler unsafely deserializes human-in-the-loop task next_kwargs",
"summary": "Apache Airflow 3.3.0 moved human-in-the-loop tasks from the triggerer to a new `awaiting_input` task state swept by the scheduler. That sweep deserializes the task instance's `next_kwargs` without an allow-list, so a Dag author — who controls that value through the task execution API — can cause an arbitrary module import and object instantiation inside the scheduler process, or terminate the scheduler job. No non-default configuration is required: the sweep runs unconditionally every 15 seconds, and the default `allowed_deserialization_classes` setting does not cover this code path. Versions before 3.3.0 are not affected, because human-in-the-loop tasks deferred onto the triggerer instead. This is a different code path from CVE-2026-58076, which covers the same unguarded exception-node deserialization reached elsewhere — deployments that applied that fix must upgrade for this issue as well. Users are advised to upgrade to apache-airflow 3.3.1 or later.",
"evidence": "osv:GHSA-q4c3-7575-55j2",
"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-q4c3-7575-55j2",
"aliases": [
"BIT-airflow-2026-67260",
"CVE-2026-67260",
"GHSA-q4c3-7575-55j2",
"PYSEC-2026-3707"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"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-q4c3-7575-55j2/GHSA-q4c3-7575-55j2.json"
}
}
],
"modified": "2026-10-02T23:41:04.597715151Z",
"provider": "osv",
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2026-67260",
"https://github.com/apache/airflow/pull/70685",
"https://github.com/apache/airflow/commit/18b622920cf0f486155075125ecdcabc752b1eca",
"https://github.com/apache/airflow/commit/a1ab0653121829675ad864080d2cd9d3d1688b01",
"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-3707.yaml",
"https://lists.apache.org/thread/vygr0fh82cjzjp5k4vtfmboxryvm3lyn",
"https://www.cve.org/CVERecord?id=CVE-2026-58076"
],
"provider_metadata": {
"cwe_ids": [
"CWE-502"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-08-12T16:17:14Z",
"github_reviewed_at": "2026-10-02T23:15:49Z"
}
},
"related_cves": [
{
"value": "CVE-2026-67260",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 81405,
"published_at": "2026-08-12T18:31:18+00:00"
}Apache Airflow 3.3.0 moved human-in-the-loop tasks from the triggerer to a new `awaiting_input` task state swept by the scheduler. That sweep deserializes the task instance's `next_kwargs` without an allow-list, so a Dag author — who controls that value through the task execution API — can cause an arbitrary module import and object instantiation inside the scheduler process, or terminate the scheduler job. No non-default configuration is required: the sweep runs unconditionally every 15 seconds, and the default `allowed_deserialization_classes` setting does not cover this code path. Versions before 3.3.0 are not affected, because human-in-the-loop tasks deferred onto the triggerer instead. This is a different code path from CVE-2026-58076, which covers the same unguarded exception-node deserialization reached elsewhere — deployments that applied that fix must upgrade for this issue as well. Users are advised to upgrade to apache-airflow 3.3.1 or later.
osv:PYSEC-2026-3707
apache-airflow
Fixed versions: 3.3.1
Complete source record
{
"id": "d571a523431151c3f4bfe57d59d6a8036e5310af8044dfec1b884bf9e7ea295f",
"url": "https://osv.dev/vulnerability/PYSEC-2026-3707",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "PYSEC-2026-3707",
"summary": "Apache Airflow 3.3.0 moved human-in-the-loop tasks from the triggerer to a new `awaiting_input` task state swept by the scheduler. That sweep deserializes the task instance's `next_kwargs` without an allow-list, so a Dag author — who controls that value through the task execution API — can cause an arbitrary module import and object instantiation inside the scheduler process, or terminate the scheduler job. No non-default configuration is required: the sweep runs unconditionally every 15 seconds, and the default `allowed_deserialization_classes` setting does not cover this code path. Versions before 3.3.0 are not affected, because human-in-the-loop tasks deferred onto the triggerer instead. This is a different code path from CVE-2026-58076, which covers the same unguarded exception-node deserialization reached elsewhere — deployments that applied that fix must upgrade for this issue as well. Users are advised to upgrade to apache-airflow 3.3.1 or later.",
"evidence": "osv:PYSEC-2026-3707",
"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-3707",
"aliases": [
"BIT-airflow-2026-67260",
"CVE-2026-67260",
"GHSA-q4c3-7575-55j2",
"PYSEC-2026-3707"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"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-3707.yaml"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-15T14:45:06.283288132Z",
"provider": "osv",
"references": [
"https://www.cve.org/CVERecord?id=CVE-2026-58076",
"https://lists.apache.org/thread/vygr0fh82cjzjp5k4vtfmboxryvm3lyn",
"https://github.com/apache/airflow/pull/70685",
"https://github.com/advisories/GHSA-q4c3-7575-55j2"
]
},
"related_cves": [
{
"value": "CVE-2026-67260",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 332638,
"published_at": "2026-08-12T16:17:14.813+00:00"
}