← All security advisories

CVE-2026-59244: Apache Airflow: Secrets masker: `var.json` Variable values not masked in 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-59244 on cve.org

Description

Apache Airflow's secrets masker did not mask `var.json` Variable values whose value is a dict in the Rendered Templates UI — the dict value failed an `isinstance(str)` guard — so a secret stored as a JSON Variable and referenced in a template via `var.json` was displayed in cleartext to any user with access to that task's Rendered Templates view. Users are advised to upgrade to apache-airflow 3.3.1 or later, which masks nested Variable values regardless of type.

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

  • Juan Pablo Guereca (@jpgerek) (finder)
  • Juan Pablo Guereca (@jpgerek) (remediation developer)

References