6.5

CVE-2026-42358: Apache Airflow: Variable masker depth-limit bypass returns cleartext nested secrets

Modified
AliasesGHSA-33g2-gx67-c2h3BIT-airflow-2026-42358PYSEC-2026-2343
Published 01-06-2026Last modified 03-11-2026

Vulnerability summary

CVE-2026-42358 is a medium (CVSS 6.5) vulnerability in apache software foundation apache airflow. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 28.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.34%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 01-06-2026
    PublishedVulnerability first disclosed.
  2. 03-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.34%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.34% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
Apache1 product
Apache software foundation1 product
PyPI1 product
  • apache-airflow< 3.2.2

4 vendors · 5 products

References

8 links