All reports
Medium

Apache Airflow exposes dict-valued var.json secrets in Rendered Templates

Affected versions

Version ranges need review.

Affected versions
< 3.3.1
Fixed version
3.3.1
Affected versions
Unknown
Fixed version
3.3.1

Exploitation

CVE-2026-59244

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-23

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.

Links

Credits

  • oscerd