A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42358

CVE-2026-42358: Apache Airflow Information Disclosure

CVE-2026-42358 is an information disclosure vulnerability in Apache Airflow that allows authenticated users to bypass nested-key redaction and access plaintext secrets in deeply-nested JSON Variables. This article covers technical details, affected versions, impact, and mitigation steps.

Published: June 4, 2026

CVE-2026-42358 Overview

CVE-2026-42358 is an information disclosure flaw in Apache Airflow's Variable response masker. The masker redacts values stored under secret-suffixed key names such as password, token, secret, and api_key. When a JSON Variable's nesting depth exceeds the shared secrets masker's recursion cap, the masker returns the original nested item before evaluating the sensitive key name. An authenticated user holding Variable read permission can retrieve plaintext secrets stored deep within nested JSON structures. The issue is a residual gap in the fix for CVE-2026-32690, which addressed shallower nesting through max_depth=1 but left the depth boundary unchanged.

Critical Impact

Authenticated users with Variable read access can exfiltrate plaintext credentials stored under sensitive keys inside deeply-nested JSON Airflow Variables.

Affected Products

  • Apache Airflow versions prior to 3.2.2
  • Deployments that store sensitive values inside deeply-nested JSON Variables
  • Installations previously patched only for CVE-2026-32690

Discovery Timeline

  • 2026-06-01 - CVE-2026-42358 published to NVD
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2026-42358

Vulnerability Analysis

Apache Airflow exposes user-defined Variables through its UI and REST API. To prevent accidental disclosure of secrets stored as Variables, Airflow runs response payloads through a secrets masker. The masker walks JSON structures recursively and redacts any value whose key name matches a sensitive suffix pattern such as password, token, secret, or api_key.

The masker enforces a recursion max_depth cap to bound traversal cost. When recursion reaches the cap, the masker returns the current item unchanged. The defect lies in ordering: the early-return on depth exhaustion executes before the sensitive-key check. Any matching key located beyond the depth boundary therefore yields its raw value in the response.

This is the same key-name bypass pattern previously addressed in CVE-2026-32690. That fix tightened handling at shallow depths but did not raise the depth-limit boundary itself, leaving the deep-nesting code path exploitable. The flaw is classified under [CWE-200] Exposure of Sensitive Information to an Unauthorized Actor.

Root Cause

The ordering bug in the shared secrets masker returns nested items based on depth before applying the sensitive-key redaction rule. Secrets nested below the recursion threshold are emitted verbatim in API and UI responses.

Attack Vector

Exploitation requires authenticated access with Variable read permission. The attacker queries a Variable whose JSON value nests sensitive keys deeper than the masker's recursion limit, then reads the unredacted secret directly from the API response. No special tooling is required beyond standard Airflow API clients.

The vulnerability is described in prose only; see the Apache Airflow Pull Request 65912 for the patch implementation details.

Detection Methods for CVE-2026-42358

Indicators of Compromise

  • Unusual volume of GET /api/v1/variables/{key} or GET /api/v2/variables/{key} requests from a single authenticated principal.
  • API responses that contain plaintext values under keys named password, token, secret, or api_key instead of the masked placeholder.
  • Variable enumeration patterns where a user iterates through many Variable keys in a short window.

Detection Strategies

  • Inspect Airflow webserver and API access logs for Variable read calls correlated with users who do not normally interact with Variables.
  • Audit stored Variable JSON payloads for nesting depths that exceed the masker's recursion cap and flag those containing sensitive key names.
  • Compare Variable response bodies against expected redaction output to detect masker bypass behavior.

Monitoring Recommendations

  • Enable Airflow audit logging and forward webserver, scheduler, and API logs to a centralized analytics platform.
  • Alert on bursts of Variable API calls and on responses containing strings that resemble credentials, tokens, or private keys.
  • Track downstream use of Variable values in DAG runs to detect secret misuse following a suspected harvest.

How to Mitigate CVE-2026-42358

Immediate Actions Required

  • Upgrade Apache Airflow to version 3.2.2 or later, even if the previous fix for CVE-2026-32690 was already applied.
  • Rotate any credentials, tokens, or API keys that were ever stored inside JSON Variables, particularly under sensitive key names.
  • Review Variable read permissions and revoke them from roles that do not require Variable access.

Patch Information

The fix is delivered in apache-airflow 3.2.2. The corrective change adjusts the secrets masker so that the sensitive-key check runs before the depth-exhaustion early return, ensuring redaction applies at any nesting depth. Patch details are available in the Apache Airflow Pull Request 65912 and the Apache Airflow Security Mailing List.

Workarounds

  • Migrate secrets out of Airflow Variables and into a dedicated secrets backend such as HashiCorp Vault, AWS Secrets Manager, or GCP Secret Manager.
  • Flatten JSON Variable structures so that sensitive keys appear at shallow depths covered by the existing masker logic.
  • Restrict the Airflow Variables.can_read permission to administrative roles until the upgrade is complete.
bash
# Configuration example
pip install --upgrade 'apache-airflow==3.2.2'
airflow db migrate
systemctl restart airflow-webserver airflow-scheduler

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechApache Airflow

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Vendor Resources
  • GitHub Pull Request Update

  • Apache Mailing List Discussion
  • Related CVEs
  • CVE-2026-49267: Apache Airflow Information Disclosure Flaw

  • CVE-2026-45426: Apache Airflow Information Disclosure Flaw

  • CVE-2026-45192: Apache Airflow Information Disclosure Flaw

  • CVE-2026-42360: Apache Airflow Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English