Apache Airflow exposes dict-valued var.json secrets in Rendered Templates
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.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-59244US | medium6.5OT elevated | — | ||
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… | ||||
references
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2026/08/12/7WEB
- https://github.com/apache/airflowPACKAGE
- https://github.com/apache/airflow/commit/917a086be848943aaaaa577b927e381f2dc1e99fWEB
- https://github.com/apache/airflow/commit/aee182636d0b10a95d94400f7d8b3228dc2c802fWEB
- https://github.com/apache/airflow/commit/b23955afc5c74386a092a1be5bcd376751c3c8a9WEB
- https://github.com/apache/airflow/pull/68975WEB
- https://github.com/apache/airflow/releases/tag/3.3.1WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3706.yamlWEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan