Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-30912

CVE-2026-30912: Apache Airflow Information Disclosure Flaw

CVE-2026-30912 is an information disclosure vulnerability in Apache Airflow that exposes SQL error stack traces via API despite security settings. This article covers the technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-30912 Overview

A significant information disclosure vulnerability has been identified in Apache Airflow where SQL error exception stack traces are exposed through the API even when the api/expose_stack_traces configuration option is explicitly set to false. This vulnerability allows unauthenticated remote attackers to potentially obtain sensitive internal information about the application's database structure, configuration, and implementation details through carefully crafted requests that trigger SQL errors.

Critical Impact

Attackers can bypass security configurations designed to hide error details, potentially exposing database schema information, internal file paths, and application architecture details that could facilitate further attacks.

Affected Products

  • Apache Airflow versions prior to 3.2.0
  • Apache Airflow deployments with API access enabled
  • Apache Airflow instances where api/expose_stack_traces configuration is relied upon for security

Discovery Timeline

  • 2026-04-18 - CVE CVE-2026-30912 published to NVD
  • 2026-04-21 - Last updated in NVD database

Technical Details for CVE-2026-30912

Vulnerability Analysis

This vulnerability represents a classic information disclosure flaw classified under CWE-668 (Exposure of Resource to Wrong Sphere). The core issue lies in Apache Airflow's error handling mechanism for SQL-related exceptions. While the application provides a configuration option api/expose_stack_traces intended to prevent the exposure of detailed error information in production environments, this setting is not properly enforced when SQL errors occur.

When the API encounters a SQL-related exception, the error handling code path bypasses the stack trace suppression logic, resulting in full exception details being returned to the client regardless of the security configuration. This creates a false sense of security for administrators who have explicitly disabled stack trace exposure.

The vulnerability is accessible over the network without requiring authentication or user interaction. An attacker can exploit this by sending malformed API requests designed to trigger SQL errors, then analyzing the returned stack traces to gather intelligence about the target system.

Root Cause

The root cause of this vulnerability is improper error handling in the API layer where SQL exceptions follow a different code path than other exceptions. The api/expose_stack_traces configuration check is not applied consistently across all exception types, allowing SQL-related stack traces to bypass this security control. This represents a failure to implement proper exception handling uniformly throughout the codebase.

Attack Vector

The attack vector involves network-based exploitation where an attacker sends specially crafted API requests to an Apache Airflow instance. By manipulating input parameters to trigger SQL syntax errors, constraint violations, or other database exceptions, the attacker can harvest detailed stack traces containing:

  • Internal file system paths revealing installation directories
  • Database table and column names exposing schema information
  • Python package versions and dependencies
  • Internal function names and module structure
  • Connection string details that may reveal database configuration

This information can be used to fingerprint the application, identify additional vulnerabilities, or craft more targeted attacks against the infrastructure.

Detection Methods for CVE-2026-30912

Indicators of Compromise

  • Unusual API request patterns with malformed SQL-related parameters
  • HTTP responses containing Python traceback information with SQL exception details
  • Repeated API calls returning 500 Internal Server Error responses
  • Log entries showing SQL syntax errors triggered by API requests
  • Access logs showing probing attempts against various API endpoints

Detection Strategies

  • Monitor API responses for patterns matching Python exception traces (e.g., "Traceback", "sqlalchemy.exc")
  • Implement anomaly detection for API endpoints receiving malformed input
  • Review web application firewall logs for SQL error triggering patterns
  • Audit API access logs for reconnaissance-style request patterns

Monitoring Recommendations

  • Enable detailed logging for API error responses and cross-reference with security events
  • Configure alerts for elevated rates of 500-series HTTP responses from Airflow API endpoints
  • Implement network-level inspection for outbound responses containing stack trace keywords
  • Review Airflow audit logs regularly for suspicious API access patterns

How to Mitigate CVE-2026-30912

Immediate Actions Required

  • Upgrade Apache Airflow to version 3.2.0 or later immediately
  • Review and restrict network access to Airflow API endpoints using firewall rules
  • Implement a web application firewall (WAF) rule to filter stack traces from responses
  • Audit existing API access logs for potential exploitation attempts

Patch Information

Apache has released Apache Airflow version 3.2.0 which addresses this information disclosure vulnerability. The fix ensures that the api/expose_stack_traces configuration option is properly enforced for all exception types, including SQL-related errors. Users should upgrade to this version or later to remediate the vulnerability. For technical details about the fix, refer to the GitHub Pull Request and the Apache Mailing List Thread.

Workarounds

  • Deploy a reverse proxy or WAF configured to sanitize error responses before they reach clients
  • Restrict API access to trusted networks only using network segmentation
  • Implement custom middleware to catch and sanitize all exception responses at the application level
  • Disable or limit API access until the upgrade can be completed
bash
# Configuration example - Restrict API access via webserver configuration
# Add to airflow.cfg or environment variables

# Ensure stack traces are disabled (note: this alone does not fix the vulnerability)
AIRFLOW__API__EXPOSE_STACK_TRACES=false

# Restrict API access to authenticated users only
AIRFLOW__API__AUTH_BACKEND=airflow.api.auth.backend.basic_auth

# Consider using network-level controls in addition
# Example iptables rule to restrict API access to internal network
# iptables -A INPUT -p tcp --dport 8080 -s 10.0.0.0/8 -j ACCEPT
# iptables -A INPUT -p tcp --dport 8080 -j DROP

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

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

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

  • Openwall OSS Security Discussion
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2026-32690: Apache Airflow Information Disclosure Flaw

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

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

  • CVE-2026-32794: Apache Airflow Databricks Provider Flaw
Default Legacy - Prefooter | 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