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 products
apache: airflow
References3
- lists.apache.org/thread/fncod6vttfo5fvmfs3h9r8s2kmm9j1n6 Mailing ListVendor Advisory
- github.com/apache/airflow/pull/68975 Issue TrackingPatch
- www.openwall.com/lists/oss-security/2026/08/12/7 Mailing ListThird Party Advisory
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 14 · as of 12 November 2026
- CWE
- CWE-312
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.