The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-65995

CVE-2025-65995: Apache Airflow Information Disclosure Flaw

CVE-2025-65995 is an information disclosure vulnerability in Apache Airflow that exposes sensitive kwargs in UI error tracebacks when DAGs fail parsing. This article covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2025-65995 Overview

CVE-2025-65995 is an Information Disclosure vulnerability in Apache Airflow that exposes sensitive information through error messages during DAG parsing failures. When a Directed Acyclic Graph (DAG) fails during parsing, Airflow's error-reporting mechanism in the UI could include the full keyword arguments (kwargs) passed to operators. If those kwargs contained sensitive values such as API keys, database credentials, or other secrets, they could be exposed in the UI tracebacks to authenticated users who had permission to view that DAG.

Critical Impact

Authenticated users with DAG view permissions may gain unauthorized access to sensitive credentials, API keys, and secrets embedded in operator arguments through error message exposure in the Airflow UI.

Affected Products

  • Apache Airflow versions prior to 3.1.4
  • Apache Airflow versions prior to 2.11.1
  • Apache Airflow deployments using operators with sensitive kwargs

Discovery Timeline

  • 2026-02-21 - CVE-2025-65995 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2025-65995

Vulnerability Analysis

This vulnerability is classified under CWE-209 (Generation of Error Message Containing Sensitive Information). The issue stems from Apache Airflow's error handling mechanism that displays verbose debugging information when DAG parsing fails. The error-reporting functionality was designed to help users debug DAG configuration issues, but it inadvertently included the complete kwargs dictionary passed to operators without sanitizing sensitive values.

The network-accessible attack vector allows authenticated users with legitimate DAG viewing permissions to exploit this vulnerability. An attacker with low-privilege access to the Airflow UI could intentionally cause DAG parsing failures or simply wait for natural parsing errors to occur, then examine the resulting error tracebacks for exposed secrets.

The impact is limited to confidentiality, as this vulnerability allows unauthorized disclosure of sensitive information but does not permit modification of data or denial of service. However, exposed credentials could enable secondary attacks against connected systems.

Root Cause

The root cause lies in Airflow's exception handling and traceback rendering logic during DAG parsing. When an operator instantiation fails, the framework captures and displays the full exception context, including all arguments passed to the operator constructor. This design prioritized debugging convenience over security, failing to redact or mask potentially sensitive parameter values before displaying them to users.

The error rendering code did not distinguish between safe-to-display configuration parameters and sensitive values that should be masked, leading to indiscriminate exposure of all kwargs in the UI traceback display.

Attack Vector

The attack exploits the network-accessible Airflow web interface and requires authenticated access with DAG view permissions. An attacker can trigger this vulnerability through the following mechanism:

  1. The attacker authenticates to the Airflow UI with valid credentials that grant DAG viewing permissions
  2. The attacker navigates to view a DAG that experiences a parsing failure (either naturally occurring or intentionally triggered through configuration manipulation if the attacker has additional privileges)
  3. The Airflow UI displays the full exception traceback, including sensitive kwargs such as database connection strings, API tokens, or cloud provider credentials
  4. The attacker extracts the exposed secrets from the error message display

The vulnerability is particularly dangerous in multi-tenant Airflow environments where users may have legitimate access to view certain DAGs but should not have access to the underlying credentials those DAGs use.

Detection Methods for CVE-2025-65995

Indicators of Compromise

  • Unusual patterns of users accessing DAG error pages or traceback views in Airflow audit logs
  • Multiple authentication attempts followed by immediate navigation to DAGs known to have parsing issues
  • User accounts accessing DAG views outside their normal operational scope
  • Suspicious credential usage in external systems that were configured as operator kwargs

Detection Strategies

  • Enable and monitor Airflow access logs for patterns indicating systematic browsing of DAG error pages
  • Implement audit logging on the Airflow webserver to track which users view specific DAG tracebacks
  • Deploy SIEM rules to detect multiple rapid accesses to error pages from the same user session
  • Monitor for credential usage anomalies in systems connected to Airflow that may indicate compromised secrets

Monitoring Recommendations

  • Review Airflow webserver access logs for requests to error and traceback endpoints
  • Implement alerting for bulk access to DAG detail pages showing parsing errors
  • Monitor authentication logs for unusual access patterns to the Airflow UI
  • Conduct periodic audits of which users have accessed DAGs containing sensitive operator configurations

How to Mitigate CVE-2025-65995

Immediate Actions Required

  • Upgrade Apache Airflow to version 3.1.4 or 2.11.1 immediately to receive the security fix
  • Audit existing DAGs to identify operators that may have sensitive values in kwargs
  • Rotate any credentials that may have been exposed through DAG parsing errors prior to patching
  • Review Airflow access logs to identify potential unauthorized access to sensitive information

Patch Information

The vulnerability has been fixed in Apache Airflow versions 3.1.4 and 2.11.1. The patches address the issue by sanitizing error messages to prevent sensitive kwargs from being displayed in UI tracebacks. Users are strongly advised to upgrade to these versions immediately.

For detailed patch information, refer to:

  • GitHub Pull Request #58252
  • GitHub Pull Request #61883
  • Apache Mailing List Discussion

Workarounds

  • Restrict DAG view permissions to only essential personnel until the patch can be applied
  • Migrate sensitive values from inline kwargs to Airflow Connections, Variables, or external secret management systems
  • Implement network segmentation to limit access to the Airflow UI from trusted networks only
  • Use Airflow's built-in secret backend feature to store and retrieve sensitive values rather than embedding them in DAG code
bash
# Configuration example: Migrate secrets to Airflow Connections
# Instead of passing credentials directly in operator kwargs:
# MyOperator(api_key="secret_value")
# 
# Store the credential in an Airflow Connection and reference it:
airflow connections add 'my_api_connection' \
    --conn-type 'http' \
    --conn-password 'your_api_key_here'

# Then reference the connection in your DAG:
# MyOperator(conn_id='my_api_connection')

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.03%

  • 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-209
  • Technical References
  • OpenWall OSS Security Update
  • Vendor Resources
  • GitHub Pull Request #58252

  • GitHub Pull Request #61883

  • Apache Mailing List Discussion
  • Related CVEs
  • CVE-2026-32794: Apache Airflow Databricks Provider Flaw

  • CVE-2026-28563: Apache Airflow Info Disclosure Flaw

  • CVE-2025-27555: Apache Airflow Information Disclosure Flaw

  • CVE-2026-24098: Apache Airflow Information Disclosure Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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