CVE-2026-42358
published medium CVSS 3.1 · 6.5Apache Airflow: Variable masker depth-limit bypass returns cleartext nested secrets
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 Variable response masker caused nested-key redaction (triggered by secret-suffixed key names like `password`, `token`, `secret`, `api_key`) to be bypassed when the JSON value's nesting depth exceeded the shared secrets masker's recursion limit: the masker returned the original nested item before checking the sensitive key name. An authenticated UI/API user with Variable read permission could harvest plaintext secret values stored under sensitive keys nested deep enough to exceed the masker's depth cap. Affects deployments that store sensitive values inside deeply-nested JSON Variables. This is a residual gap in the fix for CVE-2026-32690 (which covered shallower nesting via `max_depth=1`); the depth-limit boundary itself was not raised, so the same key-name bypass pattern reappears beyond the recursion cap. Users who already upgraded for CVE-2026-32690 should additionally upgrade to `apache-airflow` 3.2.2 or later to cover the deep-nesting 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: Variable masker depth-limit bypass returns cleartext nested secrets
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a5353f24dee1e272700df4b4f64f2ed5127be850692d668a5485df6eecc1257a
- Ingested
- 03 Nov 2026, 07:03:29 UTC
- Source record
- Official CVE record