CVE-2026-59244: Apache Airflow exposes dict-valued var.json secrets in Rendered Templates
(updated )
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.
References
- github.com/advisories/GHSA-f643-3rc2-j27w
- github.com/apache/airflow/commit/917a086be848943aaaaa577b927e381f2dc1e99f
- github.com/apache/airflow/commit/aee182636d0b10a95d94400f7d8b3228dc2c802f
- github.com/apache/airflow/commit/b23955afc5c74386a092a1be5bcd376751c3c8a9
- github.com/apache/airflow/pull/68975
- github.com/apache/airflow/releases/tag/3.3.1
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3706.yaml
- lists.apache.org/thread/fncod6vttfo5fvmfs3h9r8s2kmm9j1n6
- nvd.nist.gov/vuln/detail/CVE-2026-59244
Code Behaviors & Features
Detect and mitigate CVE-2026-59244 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →