
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-66236 is a vulnerability in Apache Airflow where secrets from the Airflow configuration file are logged in plain text in the DAG run logs UI. The root cause is that the deprecated import path airflow.sdk.execution_time.secrets_masker redirected mask_secret() to a single-process implementation that only masked secrets in the task subprocess, leaving the supervisor process (which writes logs) unaware of masking instructions. This affects Apache Airflow versions 3.0.0 through 3.2.0 (exclusive). It was disclosed on April 13, 2026, with a CVSS v3.1 base score of 7.5 (High) per Feedly/NVD and a CVSS v4 score of 5.3 (Moderate) per the GitHub Advisory (GitHub Advisory, Openwall OSS-Security).
The vulnerability is classified as CWE-532 (Insertion of Sensitive Information into Log File). When DAG authors use the deprecated import path airflow.sdk.execution_time.secrets_masker to call mask_secret(), the compatibility shim previously redirected to a single-process implementation that only masked secrets within the task subprocess. Because the supervisor process — which is responsible for writing task logs — did not receive masking instructions via the inter-process messaging channel, secrets appeared in plain text in the DAG run logs UI visible to users with log access. The fix, implemented in PR #58662, redirects mask_secret() through the supervisor-aware implementation in airflow.sdk.log so that both the task and supervisor processes receive masking instructions (GitHub PR #58662, Openwall OSS-Security).
Successful exploitation results in sensitive secrets (such as credentials, API keys, or tokens stored in the Airflow config file) being exposed in plain text within DAG run task logs visible through the Airflow UI. Any user with access to view task logs — including lower-privileged Airflow users — could read these secrets, potentially enabling lateral movement, credential theft, or unauthorized access to downstream systems integrated with Airflow. There is no integrity or availability impact; the vulnerability is limited to confidentiality (GitHub Advisory, Openwall OSS-Security).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.042–0.095%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an attacker to already have access to the Airflow UI with permissions to view task logs, limiting the attack surface to authenticated users (GitHub Advisory, Openwall OSS-Security).
mask_secret from the deprecated path airflow.sdk.execution_time.secrets_masker and call it with sensitive values.mask_secret() via the deprecated import path, causing the supervisor process to log secrets unmasked.***).base_log_folder) containing unmasked sensitive values from the Airflow config.mask_secret from airflow.sdk.execution_time.secrets_masker (the deprecated path) rather than from airflow.sdk.log.Upgrade to Apache Airflow 3.2.0 or later, which includes the fix that properly redirects mask_secret() through the supervisor-aware implementation. As an interim measure, DAG authors should update any imports of mask_secret from the deprecated path airflow.sdk.execution_time.secrets_masker to use airflow.sdk.log directly. Deployment Managers should also review the updated Airflow security model documentation, workload isolation guidelines, and JWT authentication details to ensure their deployments are properly secured (GitHub Advisory, Openwall OSS-Security).
The vulnerability was reported by Saurabh Banawar and remediated by Amogh Desai of the Apache Airflow project. The disclosure was made via the oss-security mailing list on April 13, 2026, and accompanied by the Airflow 3.2.0 blog announcement highlighting broader security improvements. Community reaction has been limited, with the issue noted on security tracking platforms such as VulDB and CVEFeed (Openwall OSS-Security, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."