Apache Airflow secret exposure in CLI audit logs
Apache Software Foundation Apache Airflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache Airflow |
| No fix yet |
| Apache Software Foundation Apache Airflow |
| No fix yet |
Original description
Apache Airflow's CLI records its arguments in the audit log but masks secrets by argument position, so some supported command shapes leave secrets in cleartext, for example a trailing `--description` on Variable commands, `--conn-extra`, and the inline `--password` of `airflow keycloak-auth-manager` commands. A user who can read audit events but is denied Variable and Connection access can retrieve those values through the event-log API.
Users of apache-airflow are recommended to upgrade to 3.4.0 or later. Audit-log entries written before the upgrade keep the cleartext values: purge the affected entries and rotate the secrets they contain. 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.
From the CVE record · apache