Apache Airflow: Secrets masker: pattern-based masking bounded at depth 5 returns deeply-nested registered secrets in cleartext
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 12, 2026
- Reserved
- Oct 20, 2026
Description
Apache Airflow's secrets masker stopped descending into nested structures after five levels, so a secret registered with the masker — for example a Connection password or a Variable value — that appeared more than five containers deep under non-sensitive keys was shown in cleartext in task logs and rendered template fields. A user who can read task logs or rendered templates, but is not meant to see those secrets, could read them. Users are advised to upgrade to apache-airflow 3.4.0 or later. 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 | 2.1.1 to 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-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
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.