Apache Airflow: Secrets masker: `var.json` Variable values not masked in the Rendered Templates UI
Summary
| CVE | CVE-2026-59244 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-12 16:17:09 UTC |
| Updated | 2026-08-12 16:17:09 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-312 | CWE-312 CWE-312: Cleartext Storage of Sensitive Information
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Airflow | affected 3.3.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/apache/airflow/pull/68975 | [email protected] | github.com | |
| lists.apache.org/thread/fncod6vttfo5fvmfs3h9r8s2kmm9j1n6 | [email protected] | lists.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Juan Pablo Guereca (@jpgerek) (en)
CNA: Juan Pablo Guereca (@jpgerek) (en)
There are currently no legacy QID mappings associated with this CVE.