CVE-2026-50204: Apache Airflow: Audit-log secrets masker redacts by key name only, persisting connection and Variable secrets in cleartext
Apache Airflow's audit log stored Connection and Variable secret values in cleartext in the Log.extra column because the secrets masker matched only on configured sensitive key names. An authenticated low-privilege user with read access to the event-log / audit API — with no prior access to the affected connection or variable — could read those rows and recover the credentials verbatim. Users should upgrade to apache-airflow 3.4.0 or later, which masks these values and restricts the affected audit rows to authorized users. Airflow 2.x is also affected; Airflow 2 has reached end of life and will not receive a fix, so Airflow 2 users should upgrade to Apache Airflow 3.4.0 or later.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bitnami/airflowto a version that resolves this vulnerability.Fixed in 3.4.0 - Upgrade
Upgrade
apache-airflowto a version that resolves this vulnerability.Fixed in 3.4.0
Event History
Frequently Asked Questions
Who could retrieve the exposed secrets?
An authenticated low-privilege user who had read access to the event-log or audit API could retrieve them. The user did not need prior permission to view the affected Connection or Variable.
What data was exposed through the audit log?
Connection and Variable secret values could be stored verbatim in the Log.extra column. The issue occurred because masking relied only on configured sensitive key names.
Does upgrading address both the stored values and access to the affected audit records?
Yes. Apache Airflow 3.4.0 or later masks these values and restricts the affected audit rows to authorized users.