← All security advisories

CVE-2026-68970: Apache Airflow: Values of a list-shaped Variable are not masked in task logs and the Rendered Templates UI

Severity Moderate
Affects Apache Airflow
Weakness CWE-312: Cleartext Storage of Sensitive Information
Published August 12, 2026
Record updated November 3, 2026
CVE record CVE-2026-68970 on cve.org

Description

Apache Airflow's Task SDK did not mask the contents of a Variable whose JSON value is a list, so secrets stored in that shape appeared in cleartext in task logs and in the Rendered Templates UI. Masking was applied only when the deserialized value was a string or a dict; a list at the top level matched neither and was returned unmasked. Any authenticated user able to read the logs or rendered templates of a task that references such a Variable could recover the values, with no special configuration required. This is the list-shaped counterpart of CVE-2026-59244, whose fix covered the dict case only, so deployments that upgraded in response to that advisory remain affected and must upgrade again. Users are advised to upgrade to apache-airflow 3.3.1 or later.

Affected versions

ProductPackageVersions
Apache Airflow apache-airflow before 3.0.0
Apache Airflow apache-airflow-core from 3.0.0 before 3.3.1

Credits

  • Raphael Zanarelli (@zanarellidev) (finder)
  • Jarek Potiuk (remediation developer)

References