
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68438 is an information disclosure vulnerability in Apache Airflow that causes sensitive secrets to be exposed in cleartext within the Rendered Templates UI when template fields exceed the [core] max_templated_field_length configuration limit. It affects Apache Airflow versions 3.1.0 through 3.1.5 (i.e., all versions before 3.1.6). The vulnerability was discovered by William Ashe and remediated by Amogh Desai, with public disclosure on January 15–16, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (Github Advisory, Openwall OSS-Sec).
The root cause is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). When a DAG's rendered template field exceeds the configured max_templated_field_length, Airflow serializes the field for truncation using a secrets masker instance that does not include user-registered mask_secret() patterns. As a result, secrets that users explicitly registered for masking are not reliably redacted before the truncated value is displayed in the Rendered Templates UI. The attack vector is network-accessible with no authentication, no user interaction, and low complexity required, making it trivially exploitable by any actor with access to the Airflow web UI (Github Advisory, Openwall OSS-Sec).
Successful exploitation results in high confidentiality impact: sensitive credentials, API keys, tokens, or other secrets embedded in DAG template fields can be read in plaintext by any actor with access to the Rendered Templates UI. There is no integrity or availability impact. Exposed credentials could enable lateral movement to downstream systems connected via Airflow connections or variables, significantly expanding the blast radius beyond the Airflow instance itself (Github Advisory, Openwall OSS-Sec).
[core] max_templated_field_length configuration threshold, causing the field to be serialized using the incomplete secrets masker.mask_secret() patterns./task?task_id=...&dag_id=...&execution_date=... or equivalent API paths for rendered template fields) from unexpected source IPs.max_templated_field_length that contain sensitive strings — review Airflow task instance rendered fields for unmasked secret fragments.The primary remediation is to upgrade Apache Airflow to version 3.1.6 or later, which corrects the secrets masker instance used during field serialization (Github Advisory, Openwall OSS-Sec). As an interim workaround, administrators should restrict access to the Rendered Templates UI to trusted users only, and review the [core] max_templated_field_length setting to reduce the likelihood of truncation occurring on fields containing sensitive values. Organizations should also audit existing DAG template fields to identify any secrets that may have already been exposed and rotate affected credentials.
The vulnerability received coverage from cybersecurity news outlets including CyberSecurityNews and CyberNoz, which highlighted the risk of sensitive workflow data exposure in Apache Airflow (CyberSecurityNews). A blog post on cryptobivash.code.blog discussed CVE-2025-68438 alongside a related Airflow vulnerability (CVE-2025-68675), framing both as systemic issues with Airflow's secrets masking approach. The Apache Software Foundation classified the severity as "low" in the OSS-Security disclosure, though CISA-ADP assigned a CVSS score of 7.5 (High), reflecting a difference in risk assessment between the vendor and external evaluators (Openwall OSS-Sec).
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."