{"id":"CVE-2026-59244","title":"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 tem…","summary":"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 tem…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-312"],"vendor":"apache","product":"airflow","affected":["airflow < 3.3.1"],"patched":["airflow 3.3.1"],"published":"2026-08-12","updated":"2026-09-16","sourceUpdated":"2026-09-16T15:17:39.273","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-59244","references":[{"url":"https://github.com/apache/airflow/pull/68975","label":"security@apache.org"},{"url":"https://lists.apache.org/thread/fncod6vttfo5fvmfs3h9r8s2kmm9j1n6","label":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2026/08/12/7","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd","cve.org","osv","pip"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-18T13:43:56.777503Z"},"epss":0.0023,"epssPercentile":0.14033,"aliases":["PYSEC-2026-3706","BIT-airflow-2026-59244"],"ecosystem":"pip","ingestedAt":"2026-08-19T19:22:21.303Z","slug":"CVE-2026-59244","body":"## Overview\n\nApache 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.\n\n## Affected\n\n- `airflow < 3.3.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `airflow 3.3.1`\n\n## Package advisory (CVE-2026-59244)\n\nAffected packages:\n\n- `apache-airflow < 3.3.1`\n\nPatched in:\n\n- `apache-airflow 3.3.1`\n\nSource: https://osv.dev/vulnerability/PYSEC-2026-3706","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}