CVE-2026-49487: Apache Airflow exposes deferred trigger kwargs in task-instance API responses
In Apache Airflow before 3.3.0, the REST API task-instance detail and list endpoints returned a deferred task's trigger kwargs without masking. When a deferred operator passed a secret (for example a provider API key) into its trigger, any authenticated user with DAG-scoped task-instance read access for that DAG could read that secret in clear text while the task was deferred.
Published Jul 7, 2026 · Updated Sep 4, 2026
Affected packages
apache-airflow
- Ecosystem
- PyPI
- Affected
- < 3.3.0
- Fixed in
- 3.3.0
- Check
pip show apache-airflow
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In Apache Airflow before 3.3.0, the REST API task-instance detail and list endpoints returned a deferred task's trigger kwargs without masking. When a deferred operator passed a secret (for example a provider API key) into its trigger, any authenticated user with DAG-scoped task-instance read access for that DAG could read that secret in clear text while the task was deferred. Users should upgrade to apache-airflow 3.3.0 or later, which masks sensitive values in trigger kwargs returned by the API.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49487
- https://github.com/apache/airflow/pull/67868
- https://lists.apache.org/thread/qlw6pozlzlfhkvmbgqsbjlq6vj4v0pc4
- https://github.com/apache/airflow/commit/9101aa66754af052ba5010a5fce9f8fa4140e6c7
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-2088.yaml
- https://github.com/advisories/GHSA-22hf-vx2v-gjff
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
