Apache Airflow Vulnerable to Authorization Bypass Through User-Controlled Key
High7.5CVE-2026-41084 · Published Jun 1, 2026 · updated Jul 9, 2026
A bug in Apache Airflow's bulk Task Instances API (`PATCH/DELETE /api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances`) evaluated authorization against the `dag_id` resolved from the URL path while operating on the `dag_id` / `dag_run_id` extracted from request-body entity fields. An authenticated UI/API user with edit permission on one Dag could mutate Task Instance state in any other Dag by keeping the authorized Dag's ID in the URL path and naming the target Dag's IDs in the request body entities. Affects deployments that rely on per-Dag edit-scope to keep Task Instance state isolated between teams. Users are advised to upgrade to `apache-airflow` 3.2.2 or later.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | >= 3.2.0, < 3.2.2 | 3.2.2 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-639
- Also known as
- BIT-airflow-2026-41084, CVE-2026-41084, PYSEC-2026-183
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 1 | Apache Airflow has no certificate validation on SMTP STARTTLS connections | Medium5.9 | 3.2.2 |
| Jun 1 | Apache Airflow has an Authorization Bypass Through User-Controlled Key | Medium4.3 | 3.2.2 |
| Jun 1 | Apache Airflow: Auth manager doesn't invalidate JWT tokens after users click logout | Medium6.5 | 3.2.2 |
| Jun 1 | Apache Airflow Vulnerable to Deserialization of Untrusted Data | High7.3 | 3.2.2 |
| Jun 1 | Apache Airflow Vulnerable to Exposure of Sensitive Information to an Unauthorized Actor | Medium6.5 | 3.2.2 |
| Jun 1 | Apache Airflow vulnerable to Improper Neutralization of Special Elements Used in a Template Engine | Critical9.1 | 3.2.2 |