Apache Airflow: Secrets from Airflow config file logged in plain text in DAG run logs UI
MediumCVE-2025-66236 · Published Apr 13, 2026 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | >= 3.0.0, < 3.2.0 | 3.2.0 |
Details and references
Before Airflow 3.2.0, it was unclear that secure Airflow deployments require the Deployment Manager to take appropriate actions and pay attention to security details and security model of Airflow. Some assumptions the Deployment Manager could make were not clear or explicit enough, even though Airflow's intentions and security model of Airflow did not suggest different assumptions. The overall security model, workload isolation, and JWT authentication details are now described in more detail. Users concerned with role isolation and following the Airflow security model of Airflow are advised to upgrade to Airflow 3.2, where several security improvements have been implemented. They should also read and follow the relevant documents to make sure that their deployment is secure enough. It also clarifies that the Deployment Manager is ultimately responsible for securing your Airflow deployment. This had also been communicated via Airflow 3.2.0 Blog announcement. Users are recommended to upgrade to version 3.2.0, which fixes this issue.
- CVSS 4.0
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-532
- Also known as
- BIT-airflow-2025-66236, CVE-2025-66236, PYSEC-2026-8
- nvd.nist.gov/vuln/detail/CVE-2025-66236
- github.com/apache/airflow/pull/58662
- airflow.apache.org/blog/airflow-3.2.0
- github.com/apache/airflow
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-8.yaml
- lists.apache.org/thread/g8fyy1tkmxkkfk7tx2v6h8mvwzpyykbo
- www.openwall.com/lists/oss-security/2026/04/13/6
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Apr 13 | Apache Airflow: Unsafe Deserialization via Legacy Serialization Keys (__type/__var) Bypass in XCom API CVE-2026-33858High8.8fixed in 3.2.0 | High8.8 | 3.2.0 |
| Apr 15 | Apache Airlfow: Sensitive Azure Service Bus connection string (and possibly other providers) exposed to users with view access CVE-2026-25219Medium6.5fixed in 3.1.8 | Medium6.5 | 3.1.8 |
| Apr 9 | Apache Airflow: JWT token still valid after logout CVE-2025-57735Critical9.1fixed in 3.2.0 | Critical9.1 | 3.2.0 |
| Apr 9 | Apache Airflow has an authorization bypass in DagRun wait endpoint CVE-2026-34538Medium6.5fixed in 3.2.0 | Medium6.5 | 3.2.0 |
| Apr 16 | Apache Airflow: RCE by race condition in example_xcom dag CVE-2025-54550High8.1fixed in 3.2.0 | High8.1 | 3.2.0 |
| Apr 16 | Apache Airflow: JWT token appearing in logs CVE-2026-31987Medium7.5fixed in 3.2.0 | Medium7.5 | 3.2.0 |