Apache Airflow <3.1.6 Rendered Template UI Secrets Exposure
CVE-2025-68438 Published on January 16, 2026
Apache Airflow: Secrets in rendered templates could contain parts of sensitive values when truncated
In Apache Airflow versions before 3.1.6, when rendered template fields in a Dag exceed [core] max_templated_field_length, sensitive values could be exposed in cleartext in the Rendered Templates UI. This occurred because serialization of those fields used a secrets masker instance that did not include user-registered mask_secret() patterns, so secrets were not reliably masked before truncation and display.
Users are recommended to upgrade to 3.1.6 or later, which fixes this issue
Vulnerability Analysis
CVE-2025-68438 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.
Weakness Type
What is an Information Disclosure Vulnerability?
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CVE-2025-68438 has been classified to as an Information Disclosure vulnerability or weakness.
Products Associated with CVE-2025-68438
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-68438 are published in Apache AirFlow:
Affected Versions
Apache Software Foundation Apache Airflow:- Version 3.1.0 and below 3.1.6 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.