Apache Airflow: CLI argv masking misses Variable values and --conn-extra, persisting secrets in audit logs
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 12, 2026
- Reserved
- Sep 7, 2026
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.
| Product | Versions |
|---|---|
| Apache Airflow Apache Software Foundation | before 3.0.0 Affected |
| Apache Airflow Apache Software Foundation | before 3.4.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CISA-ADP |
Weaknesses
- CWE-532 Insertion of Sensitive Information into Log File
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.