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-42360

CVE-2026-42360: Apache Airflow Information Disclosure Flaw

CVE-2026-42360 is an information disclosure vulnerability in Apache Airflow that exposes sensitive nested keys in rendered template fields. This article covers technical details, affected versions, impact, and mitigation.

Published: June 4, 2026

CVE-2026-42360 Overview

CVE-2026-42360 is an information disclosure vulnerability in Apache Airflow's rendered-template field handling. The flaw bypasses nested sensitive-key masking when a rendered template field exceeds the [core] max_templated_field_length limit. Airflow stringifies the structure before redaction, losing the nested key context, and persists the plaintext value into rendered_fields. An authenticated user with permission to read rendered template fields can harvest secrets that were intended to be masked. The issue is classified under [CWE-200] (Information Exposure) and is a variant of the previously addressed CVE-2025-68438.

Critical Impact

Authenticated UI or API users can read plaintext values for nested password, token, secret, and api_key fields stored in Airflow's rendered_fields table.

Affected Products

  • Apache Airflow versions prior to 3.2.2
  • Deployments where DAG authors pass structured JSON to operators with nested sensitive keys
  • Installations that previously patched only CVE-2025-68438

Discovery Timeline

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

Technical Details for CVE-2026-42360

Vulnerability Analysis

Apache Airflow masks sensitive values in rendered template fields using an allowlist of key names such as password, token, secret, and api_key. The redaction logic walks nested JSON structures and replaces values whose keys match the allowlist. The vulnerability arises when a rendered template field exceeds the [core] max_templated_field_length threshold configured for the deployment.

When the threshold is exceeded, Airflow converts the structure to a string representation before applying redaction. The stringification step discards the nested key-to-value mapping that the masker relies on. As a result, the allowlist match fails and the plaintext payload is written to the rendered_fields table backing the Airflow metadata database.

Any authenticated user with the can_read permission on rendered template fields can retrieve the stored value through the Airflow UI or REST API. The exploit requires no special privileges beyond standard DAG read access, and no user interaction from an administrator.

Root Cause

The redaction routine assumes the structure is walked as a Python object. The truncation path that handles oversized fields short-circuits this assumption by calling str() on the structure first. The fix for CVE-2025-68438 covered user-registered mask_secret() patterns but did not extend the nested sensitive-keyword allowlist to the truncated path.

Attack Vector

An authenticated attacker reads a DAG run's rendered template fields through the Airflow web UI or the /api/v1/dags/{dag_id}/dagRuns/{run_id}/taskInstances/{task_id}/renderedFields endpoint. When the target task passes structured JSON containing nested credentials to an operator, and the rendered output exceeds max_templated_field_length, the response contains unredacted secret values.

The vulnerability manifests in Airflow's template rendering pipeline. Refer to the Apache Airflow Pull Request 65906 for the patch details and the Apache Mailing List Thread for the security announcement.

Detection Methods for CVE-2026-42360

Indicators of Compromise

  • Unusual volume of GET requests to the renderedFields API endpoint from a single authenticated principal
  • Access to rendered template fields for tasks that pass structured JSON to operators
  • Rows in the rendered_task_instance_fields table containing plaintext strings matching password, token, secret, or api_key patterns

Detection Strategies

  • Audit Airflow metadata database for rendered_fields entries that contain unredacted credential keywords inside truncated JSON blobs
  • Review Airflow webserver access logs for repeated reads of /renderedFields endpoints across multiple DAG runs
  • Correlate API authentication events with template field read operations to identify reconnaissance patterns

Monitoring Recommendations

  • Enable Airflow audit logging and forward webserver and API logs to a centralized log analytics platform
  • Alert on principals that access rendered fields for DAGs outside their normal scope
  • Monitor outbound use of credentials that may have been exposed through rendered template fields

How to Mitigate CVE-2026-42360

Immediate Actions Required

  • Upgrade apache-airflow to version 3.2.2 or later, even if the deployment was previously patched for CVE-2025-68438
  • Review and rotate any credentials that may have been passed through structured JSON templates with nested sensitive keys
  • Restrict the can_read permission on rendered template fields to roles that require it

Patch Information

The fix is delivered in apache-airflow 3.2.2. The patch extends the nested sensitive-keyword allowlist to the code path that handles fields exceeding [core] max_templated_field_length, ensuring redaction occurs before stringification. Patch details are available in the Apache Airflow Pull Request 65906.

Workarounds

  • Increase [core] max_templated_field_length so that affected templates do not trigger the truncation path, accepting the storage tradeoff
  • Avoid passing structured JSON containing nested sensitive keys to operators; resolve secrets at task runtime using Airflow Connections or a secrets backend
  • Reduce the user population with read access to rendered template fields through Airflow's role-based access control
bash
# Upgrade Apache Airflow to the patched release
pip install --upgrade "apache-airflow>=3.2.2"

# Verify installed version
airflow version

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

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

  • CVE-2026-42358: Apache Airflow Information Disclosure

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

  • CVE-2026-45192: 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