Junglewise Threat Intelligence

CVE-2026-49487: Apache Airflow information disclosure in REST API task-instance endpoints

CVE-2026-49487 · Severity: medium · CVSS 6.5 · Published 2026-07-07

Technologies: Apache Airflow, apache-airflow (PyPI). Vendors: Apache, PyPI.

Executive brief

Apache Airflow's REST API endpoints for task instances inadvertently exposed sensitive credentials (such as API keys and tokens) that were passed to deferred tasks. Any user with read access to task instances in a specific workflow could extract these secrets in plain text before the task completed. This vulnerability was resolved by removing the exposed fields entirely in version 3.3.0.

Technical details

The vulnerability is an information disclosure (CWE-200) in Apache Airflow's REST API implementation. The task-instance detail and list endpoints returned the full, unmasked trigger kwargs object for deferred tasks. These kwargs contain sensitive data—such as API keys, authentication tokens, and credentials—that operators pass to their triggers at runtime. An authenticated attacker with DAG-scoped read access to task instances could call these REST endpoints and extract plaintext secrets while the task was in a deferred state. The attack requires valid authentication and network access to the Airflow API (AV:N, PR:L). The fix in version 3.3.0 removes the `kwargs` field from the `TriggerResponse` entirely, preventing exposure without affecting trigger execution, as the triggerer still decrypts and uses real kwargs at runtime.

Affected products

  • Apache Airflow < 3.3.0

Timeline

  • 2026-07-07: disclosed
  • 2026-07-07: patched: Apache Airflow 3.3.0 released with fix

References

Related threats