Technical impact
Apache Airflow’s secrets masker stopped descending into nested structures after five levels. When a secret registered with the masker—such as a Connection password or Variable value—appears more than five containers deep under non‑sensitive keys, it is shown unmasked in task logs and rendered template fields. Users who can read task logs or rendered templates, but are not authorized to see those secrets, could therefore read them. Airflow 2.x is also affected; as Airflow 2 has reached end‑of‑life it will not receive a fix, so users should upgrade to Apache Airflow 3.4.0 or later. The vulnerability, classified as CWE‑497, results in the exposure of sensitive information.
Affected Systems
Apache Software Foundation’s Apache Airflow product is affected. All installations using versions prior to 3.4.0 are vulnerable, as the fix is released in that release. Any Airflow deployment that relies on the default secrets masker behavior and renders logs or templates for users who should not have access to secrets may be impacted.
Risk and Exploitability
The vulnerability is an information‑disclosure flaw with no public exploit code and an EPSS score of < 1%, and it is not listed in CISA KEV. The CVSS score of 6.5 indicates moderate severity. Attackers must have read access to Airflow task logs or rendered templates, which typically requires at least the same privileges used to trigger or view tasks. While no remote exploitation path is documented, the risk is elevated for environments where log data is broadly exposed or where users have elevated read privileges. The severity of the impact depends on the value of the exposed secrets; disclosing credentials could grant further network or administrative access.