CVE-2026-49487: Apache Airflow: Task-instance API exposes secrets in deferred trigger kwargs
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
apache-airflowto a version that resolves this vulnerability.Fixed in 3.3.0 - Compensating control
Until upgraded, limit access to the Apache Airflow REST API task-instance detail/list endpoints so only authorized users with appropriate DAG-scoped task-instance read access can query task-instance data (to reduce exposure of unmasked trigger kwargs).
Event History
Frequently Asked Questions
What is the severity of CVE-2026-49487?
CVE-2026-49487 has a medium severity score of 6.5 according to the CVSS 3.1 standard.
How do I fix CVE-2026-49487?
To fix CVE-2026-49487, upgrade Apache Airflow to version 3.3.0 or later where the issue is resolved.
What type of vulnerability is CVE-2026-49487?
CVE-2026-49487 is classified as an information leakage vulnerability due to exposure of sensitive secrets.
Who is affected by CVE-2026-49487?
Any user of Apache Airflow versions prior to 3.3.0 with access to the task-instance API can potentially be affected by CVE-2026-49487.
What kind of information is exposed in CVE-2026-49487?
CVE-2026-49487 exposes secrets such as API keys in the trigger kwargs of deferred tasks without masking.