CVE-2026-42360
CVE-2026-42360 is a medium-severity vulnerability in Apache Airflow with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-200.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 0% (25th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-33590
- Weakness: CWE-200
- Affected product: Apache Airflow
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-42360?
- 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.
- How severe is CVE-2026-42360?
- CVE-2026-42360 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2026-42360 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (25th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-42360?
- CVE-2026-42360 affects Apache Airflow. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-42360?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-42360 have an EU (EUVD) identifier?
- Yes. CVE-2026-42360 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-33590.
- When was CVE-2026-42360 published?
- CVE-2026-42360 was published on 2026-06-01 and last updated on 2026-06-17.
References
- https://github.com/apache/airflow/pull/65906
- https://lists.apache.org/thread/obj79bpxnl7r5olz1gsn0g94y88glnl4
Affected products (1)
- cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Airflow
- CVE-2023-25754 — Critical (CVSS 9.8): Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.This issue affects Apache…
- CVE-2023-22884 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software…
- CVE-2022-40189 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2022-38649 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2022-38054 — Critical (CVSS 9.8): In Apache Airflow versions 2.2.4 through 2.3.3, the `database` webserver session backend was susceptible to session…
- CVE-2021-38540 — Critical (CVSS 9.8): The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. This allowed…
All CVEs affecting Apache Airflow →
Other CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities
- CVE-2026-27604 — Critical (CVSS 10.0): FOSSBilling is a free, open-source billing and client management system. Starting in version 0.5.4 and prior to version…
- CVE-2026-40965 — Critical (CVSS 10.0): Cloud Foundry UAA versions v76.12.0 through v78.12.0 are vulnerable to a private key exposure. The server contains a…
- CVE-2026-42826 — Critical (CVSS 10.0): Exposure of sensitive information to an unauthorized actor in Azure DevOps allows an unauthorized attacker to disclose…
- CVE-2025-29270 — Critical (CVSS 10.0): Incorrect access control in the realtime.cgi endpoint of Deep Sea Electronics devices DSE855 v1.1.0 to v1.1.26 allows…
- CVE-2025-61481 — Critical (CVSS 10.0): An issue in MikroTik RouterOS v.7.14.2 and SwOS v.2.18 exposes the WebFig management interface over cleartext HTTP by…
- CVE-2025-53624 — Critical (CVSS 10.0): The Docusaurus gists plugin adds a page to your Docusaurus instance, displaying all public gists of a GitHub user.…
Browse all CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities →