CVE-2026-42360
published medium CVSS 3.1 · 6.5Apache Airflow: Rendered template truncation bypasses nested sensitive-key masking
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | apache-airflowApache Airflow · 0 to < 3.0.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | apache-airflow-coreApache Airflow · 3.0.0 to < 3.2.2 · Other versions: unaffected | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Airflow | 0 to < 3.0.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Airflow | 3.0.0 to < 3.2.2 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
2Provider assertions
2apache · cna
Apache Airflow: Rendered template truncation bypasses nested sensitive-key masking
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 37c8555a560648cd03a48b971376e574e5321be4cd2fca890a8c9c65118a89b4
- Ingested
- 03 Nov 2026, 07:03:29 UTC
- Source record
- Official CVE record