CVE-2025-66388: Apache Airflow: Secrets in rendered templates not redacted properly and exposed in the UI
| Severity | Low |
|---|---|
| Affects | Apache Airflow |
| Weakness | CWE-201 Insertion of Sensitive Information Into Sent Data |
| Published | December 15, 2025 |
| Record updated | November 3, 2026 |
| CVE record | CVE-2025-66388 on cve.org |
Description
A vulnerability in Apache Airflow allowed authenticated UI users to view secret values in rendered templates due to secrets not being properly redacted, potentially exposing secrets to users without the appropriate authorization.
Users are recommended to upgrade to version 3.1.4, which fixes this issue.
Affected versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow | apache-airflow-core |
from 3.1.0 before 3.1.4 |
Credits
- William Ashe (finder)
- Amogh Desai (remediation developer)
References
- https://github.com/apache/airflow/pull/58772 (patch)
- https://lists.apache.org/thread/mv9hzsx8grjf7gdlkxwppnpbtogtls2g (vendor-advisory)