Apache Airflow Task SDK Callback deserialization can import arbitrary modules in the scheduler
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.
GHSA-2qjv-p2gc-mjg2
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-2qjv-p2gc-mjg2
apache-airflow
Source reference: /affected/0/package/name
- Affected versions
- 3.3.0
Source reference:
/affected/0/versions3.3.1rc1Source reference:
/affected/0/versions3.3.1rc2Source reference:
/affected/0/versions - Fixed versions
- 3.3.1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"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"
}
}
]- Related CVEs
- CVE-2026-67587
Source reference:
/aliases
Publisher severity
high
Source reference: /database_specific/severity
- Event
- #72787 · Revision 1
- Added to Heist Feed
- Publisher date