CVE-2026-42358: A bug in Apache Airflow's Variable response masker caused nested-key redaction (triggered by secret-suffixed k
CVE-2026-42358 is a medium-severity flaw (CVSS 6.5) affecting airflow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 valu
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 73%) |
| CISA exploited list | No |
| Weakness | CWE-200 |
| Published | 2026-06-01 |
| Last modified | 2026-07-21 |
Last updated 2026-07-21 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42358?
airflow: upgrade to 3.2.2. Exact commands for each OS are on this page.
Is CVE-2026-42358 being exploited?
CVE-2026-42358 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42358 affect?
CVE-2026-42358 affects airflow. Severity is medium (CVSS 6.5). 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 sec
How urgent is CVE-2026-42358?
Priority 34/100. On your watchlist
Software pages
Apache Airflow vulnerabilities
Related CVEs
- CVE-2026-33858 HIGH 8.8 UPGRADE Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload
- CVE-2026-32690 LOW 3.7 UPGRADE Secrets in Variables saved as JSON dictionaries were not properly redacted - in case thee variables were retri
- CVE-2026-30898 HIGH 8.8 UPGRADE An example of BashOperator in Airflow documentation suggested a way of passing dag_run.conf in the way that co
- CVE-2026-30912 HIGH 7.5 UPGRADE In case of SQL errors, exception/stack trace of errors was exposed in API even if "api/expose_stack_traces" wa
- CVE-2026-32228 HIGH 7.5 UPGRADE UI / API User with asset materialize permission could trigger dags they had no access to. Users are advised to