Apache Airflow missing team context permits cross-team Dag actions and XCom reads
Medium6.5CVE-2026-68971 · Published Aug 12, 2026 · updated Oct 2, 2026
Apache Airflow's asset materialization endpoint (`POST /api/v2/assets/{asset_id}/materialize`) and the XCom result check on `wait_dag_run_until_finished` authorized the target Dag without its team, unlike every other authorization site. A team-aware auth manager distinguishes a team-scoped Dag from a global one by that field -- the Keycloak auth manager, for example, checks the `DAG` resource instead of `DAG:<team>` -- so the team-scoped permission that should gate the request was never consulted. In a deployment running multi-team mode with a team-aware auth manager, an authenticated user in one team could trigger Dag runs belonging to another team, supplying their own `dag_run_id` and `conf`, and could read another team's XCom values. Deployments using the FAB auth manager are unaffected, as it has no multi-team support. Users are advised to upgrade to apache-airflow 3.3.1 or later, which resolves the Dag's team at both sites.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | < 3.3.1 | 3.3.1 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-862
- Also known as
- BIT-airflow-2026-68971, CVE-2026-68971, PYSEC-2026-3994
- nvd.nist.gov/vuln/detail/CVE-2026-68971
- github.com/apache/airflow/pull/70893
- github.com/apache/airflow/commit/0940c4b66c270d929e9f59914c65e15bd4734680
- github.com/apache/airflow/commit/f81459835adb111e57b2a87f586d856395660f8a
- github.com/apache/airflow
- github.com/apache/airflow/releases/tag/3.3.1
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3994.yaml
- lists.apache.org/thread/kfxqqwgojdjdnt6bxg3ord4y41y334fo
- www.openwall.com/lists/oss-security/2026/08/12/15
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 12 | Apache Airflow bulk endpoints log Variable and Connection secrets in cleartext | Medium6.5 | 3.3.1 |
| Aug 12 | Apache Airflow Task SDK fails to mask list-shaped JSON Variables | Medium6.5 | 3.3.1 |
| Aug 12 | Apache Airflow Task SDK Callback deserialization can import arbitrary modules in the scheduler | High8.8 | 3.3.1 |
| Aug 12 | Apache Airflow environment-variable secrets backend permits cross-team credential use | Medium5.4 | 3.3.1 |
| Aug 12 | Apache Airflow Config API exposes team-scoped sensitive configuration values | Medium6.5 | 3.3.1 |
| Aug 12 | Apache Airflow XCom API permits unsafe deserialization through JSON string literals | Medium5.4 | 3.3.1 |