All vulnerabilities

Servers and applications

CVE-2026-42360

Apache Airflow: Rendered template truncation bypasses nested sensitive-key masking

Severity
Medium 6.5
Published
1 Jun 2026
Last changed
3 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.0.0, 3.2.2
Exploit chance
0.3% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Information exposure (CWE-200)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Sources
NVD, CVE Program

Description

A bug in Apache Airflow's rendered-template field handling caused nested sensitive-key masking (e.g. nested password / token / secret / api_key keys inside a JSON template structure) to be bypassed when the rendered field exceeded [core] max_templated_field_length: Airflow stringified the structure before redaction, losing the nested key context, and persisted the plaintext value into rendered_fields. An authenticated UI/API user with permission to read rendered template fields could harvest secret values intended to be masked. Affects deployments where Dag authors pass structured JSON to operators with nested sensitive keys. This is a variant of CWE-200 previously addressed for the user-registered mask_secret() patterns in CVE-2025-68438; that fix did not cover the nested sensitive-keyword allowlist. Users who already upgraded for CVE-2025-68438 should additionally upgrade to apache-airflow 3.2.2 or later to cover the nested-key path.

From the CVE Program.

Affected software

SoftwareAffected versions
Apache AirflowServers and applications · cna:apache software foundation|apache airflow
  • Every version before 3.0.0
  • From 3.0.0 before 3.2.2
Apache AirflowServers and applications · cpe:a:apache:airflow
  • Every version before 3.2.2

About Apache Airflow

open-source workflow management platform written in Python, where workflows are created via Python scripts

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
1,437,607PyPI Stats, 15 Nov 2026
Docker Hub pulls
1,734,204,390Docker Hub, 15 Nov 2026
GitHub stars
47,481GitHub, 15 Nov 2026
Forks
18,360GitHub, 15 Nov 2026
Latest release
3.4.0GitHub, 15 Nov 2026
Released
6 Nov 2026GitHub
Developer
Apache Software FoundationWikidata
License
Apache Software License 2.0, Apache LicenseWikidata
Written in
PythonWikidata
First published on GitHub
13 Apr 2015GitHub

Release lines

ReleaseLatestSecurity fixes
3.43.4.0Yes
3.33.3.2Ended 7 Nov 2026
3.23.2.2Ended 6 Jul 2026
3.13.1.8Ended 7 Apr 2026
3.03.0.6Ended 25 Sept 2025
22.11.2Ended 22 Apr 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-42360
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-42360