CVE-2026-68968: Apache Airflow Backfill API parser discrepancy permits cross-DAG authorization bypass
Apache Airflow's Backfill API authorized a request against a Dag id supplied by the caller whenever the backfillid path segment failed to parse. The authorization dependency parsed it with int() while the route handler parsed it as pydantic's NonNegativeInt, which accepts values int() rejects (1.0 coerces to 1); FastAPI resolves dependencies before endpoint validation, so the two acted on different Dags.
Published Aug 12, 2026 · Updated Oct 2, 2026
Affected packages
apache-airflow
- Ecosystem
- PyPI
- Affected
- < 3.3.1
- Fixed in
- 3.3.1
- Check
pip show apache-airflow
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Apache Airflow's Backfill API authorized a request against a Dag id supplied by the caller whenever the backfill_id path segment failed to parse. The authorization dependency parsed it with int() while the route handler parsed it as pydantic's NonNegativeInt, which accepts values int() rejects (1.0 coerces to 1); FastAPI resolves dependencies before endpoint validation, so the two acted on different Dags. An authenticated user holding edit permission on any single Dag could therefore read, pause and cancel backfills belonging to any other Dag, including moving another Dag's queued runs to failed. No non-default configuration is required and backfill ids are sequential, so finding a target is trivial. Users are advised to upgrade to apache-airflow 3.3.1 or later, which parses the backfill id with the same type the routes declare.
Credited to oscerd.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-68968
- https://github.com/apache/airflow/pull/70889
- https://lists.apache.org/thread/f9zmw6xs5b4syhwzbl6fsxm4kf2632ol
- https://github.com/apache/airflow/commit/6fcae4e2b0aabd22b006659bc47139a124813865
- https://github.com/apache/airflow/commit/bbb97f55e647dd09f0725c111b7a7081b9df7850
- https://github.com/apache/airflow/releases/tag/3.3.1
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3710.yaml
- https://github.com/advisories/GHSA-j4jc-cq9h-xrhr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-54183
Apache Airflow Variables UI fails to mask sensitive values in deeply nested iterables
medium4.3Aug 12, 2026CVE-2026-58076
Apache Airflow exception-node deserialization permits arbitrary callable execution
high8.8Aug 12, 2026CVE-2026-59242
Apache Airflow XCom API permits unsafe deserialization through JSON string literals
medium5.4Aug 12, 2026CVE-2026-59244
Apache Airflow exposes dict-valued var.json secrets in Rendered Templates
medium6.5Aug 12, 2026CVE-2026-65017
Apache Airflow Config API exposes team-scoped sensitive configuration values
medium6.5Aug 12, 2026CVE-2026-67260
Apache Airflow scheduler unsafely deserializes human-in-the-loop task next_kwargs
high7.3Aug 12, 2026
