Servers and applications
CVE-2026-42358
Apache Airflow: Variable masker depth-limit bypass returns cleartext nested secrets
- 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 27% 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 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.
Affected software
| Software | Affected versions |
|---|---|
Apache AirflowServers and applications · cna:apache software foundation|apache airflow |
|
Apache AirflowServers and applications · cpe:a:apache:airflow |
|
About Apache Airflow
open-source workflow management platform written in Python, where workflows are created via Python scripts
- 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
Website Source code Docker image Package
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 3.4 | 3.4.0 | Yes |
| 3.3 | 3.3.2 | Ended 7 Nov 2026 |
| 3.2 | 3.2.2 | Ended 6 Jul 2026 |
| 3.1 | 3.1.8 | Ended 7 Apr 2026 |
| 3.0 | 3.0.6 | Ended 25 Sept 2025 |
| 2 | 2.11.2 | Ended 22 Apr 2026 |
From endoflife.date.
Vulnerabilities in Apache Airflow
- In our list
- 176
- Published in the last 12 months
- 83
- Critical, last 12 months
- 6
- High, last 12 months
- 30
- Known exploited
- 2
- CVE-2026-40913Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC EnforcementHigh 8.2 9 Nov 2026
- CVE-2026-50204Apache Airflow: Audit-log secrets masker redacts by key name only, persisting connection and Variable secrets in cleartextMedium 6.5 9 Nov 2026
- CVE-2026-68982Apache Airflow: CeleryExecutor: forged callback workloads run on Celery workers without workload-token validationCritical 9.8 9 Nov 2026
- CVE-2026-86829Apache Airflow: Deserialization of task-controlled XCom values in the Scheduler during dependency evaluationHigh 8.8 9 Nov 2026
- CVE-2026-82337Apache Airflow: DeadlineAlert fields bypass plugin-registration gate for scheduler-side deserializationHigh 7.3 9 Nov 2026
- CVE-2026-86468Apache Airflow: CLI argv masking misses Variable values and --conn-extra, persisting secrets in audit logsMedium 6.5 9 Nov 2026