Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted API request
-
DeliveryTrigger SQL exception in metadata database
-
ExploitReceive stack trace in HTTP response
-
ExecutionExtract schema details and filesystem paths
-
PersistMap database structure
-
ImpactIdentify further attack vectors
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires network access to Apache Airflow API endpoints (default TCP 8080). Airflow API must be enabled (default in most deployments). No authentication, specific configuration flags, or user interaction required-CVSS vector AV:N/AC:L/PR:N/UI:N confirms exploitation against default installations. Exploitation is NOT limited to environments with api/expose_stack_traces=true; vulnerability specifically affects instances where operators set this flag to false expecting production-safe error handling. Attack succeeds regardless of RBAC configuration, authentication backend (basic, LDAP, OAuth), or executor type (LocalExecutor, CeleryExecutor, KubernetesExecutor). The only limiting factor is network reachability-deployments with API access restricted to internal VPCs or behind authentication proxies have reduced exposure. |
| Impact | CVSS 7.5 reflects high confidentiality impact (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) as remote unauthenticated attackers can trivially extract sensitive information by triggering SQL errors through crafted API requests. However, real-world risk is moderated by multiple factors: EPSS 0.02% suggests attackers prioritize more impactful vulnerabilities; exploitation yields reconnaissance data rather than direct system compromise; and the attack requires no special conditions beyond network access to Airflow's API endpoints. This is an information disclosure issue that enables further attacks rather than immediate RCE or data exfiltration. SSVC assessment: exploitation status is none (no public POC), automatable (yes-simple HTTP requests can trigger), technical impact is partial (leaks architecture but doesn't grant access). Priority should be moderate-patch during normal maintenance cycles for internet-facing instances, lower urgency for internal deployments with network segmentation. The gap between CVSS severity and EPSS probability indicates this is not yet attacker-favored despite ease of exploitation. |
| Exploit ScenarioDerived | Attacker sends HTTP requests to Airflow API endpoints (e.g., /api/v1/dags, /api/v1/connections) with malformed parameters designed to trigger SQL constraint violations or syntax errors. API returns JSON responses containing full Python stack traces with database schema names, table structures, and query fragments. Attacker uses leaked information to map the DAG metadata database schema, identify custom table extensions, and craft precise SQL injection payloads against other potential vulnerabilities. No authentication required as CVSS vector confirms PR:N (no privileges needed). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 21, 2026
Apache Airflow before 3.2.0 exposes SQL exception stack traces through API responses despite api/expose_stack_traces=false configuration, allowing remote unauthenticated attackers to enumerate database schema details, table names, query structure, and internal filesystem paths. CVSS 7.5 (High) with network vector and no authentication required. EPSS score of 0.02% (4th percentile) indicates low probability of widespread exploitation. Vendor patch available in Airflow 3.2.0 per Apache advisory. No active exploitation confirmed (not in CISA KEV) and no public POC identified at time of analysis.
Earlier versions of this analysis (1)
Apache Airflow API leaks SQL stack traces to unauthenticated remote attackers despite explicit configuration to suppress them (api/expose_stack_traces=false), exposing database schema, credentials fragments, and internal path structures. Affects all versions before 3.2.0. EPSS score is low (0.02%, 4th percentile) and no active exploitation confirmed, but the remote unauthenticated vector (AV:N/PR:N) with low complexity (AC:L) makes this trivially exploitable for reconnaissance. Patch available in version 3.2.0 via GitHub PR #63028.
RemediationAI
Upgrade to Apache Airflow 3.2.0 or later, which implements proper exception sanitization in API responses per GitHub PR #63028 (https://github.com/apache/airflow/pull/63028). The patch enforces api/expose_stack_traces configuration for all exception types including SQL errors. For environments unable to immediately upgrade, implement compensating controls: deploy a reverse proxy (nginx, Apache httpd, or cloud WAF) to filter API responses, stripping 'traceback' and 'exception' fields from JSON payloads (note: may break legitimate error handling in admin tools); restrict API access to trusted networks via firewall rules or VPC security groups, reducing exposure to internal users only (trade-off: limits remote monitoring capabilities); enable detailed API request logging to detect reconnaissance attempts through repeated error responses (high false-positive rate from legitimate client errors). These workarounds reduce attack surface but do not eliminate the vulnerability-prioritize patching for production systems.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Airflow is a workflow orchestration platform that uses SQL databases (PostgreSQL, MySQL, etc.) for metadata storage and task state management. The vulnerability stems from improper exception handling (CWE-668: Exposure of Resource to Wrong Sphere) in the API layer. When SQL queries fail-due to syntax errors, constraint violations, or database connectivity issues-the API returns raw exception objects containing stack traces. These traces leak implementation details including database schema structure, table/column names, SQL query fragments, Python file paths, library versions, and database driver information. The api/expose_stack_traces configuration flag was intended to suppress this debug information in production deployments but was bypassed for SQL-specific exceptions, effectively nullifying the security control.
Know when Apache Airflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (apache) · only source for this CVE.
CVSS VectorVendor: apache
Lifecycle Timeline
4DescriptionCVE.org
In case of SQL errors, exception/stack trace of errors was exposed in API even if "api/expose_stack_traces" was set to false. That could lead to exposing additional information to potential attacker. Users are recommended to upgrade to Apache Airflow 3.2.0, which fixes the issue.
Blast Radius
ecosystem impact- 10 pypi packages depend on apache-airflow (1 direct, 9 indirect)
- 10 pypi packages depend on apache-airflow-core (2 direct, 8 indirect)
Ecosystem-wide dependent count for version 3.2.0 and other introduced versions.
Executive ViewAI
Apache Airflow versions before 3.2.0 leak sensitive database schema and internal system details through API error responses, even when stack trace exposure is disabled, enabling unauthenticated reconnaissance of backend infrastructure. Organizations running Airflow for workflow orchestration face information disclosure risk that could facilitate follow-on attacks, though current exploitation probability remains low.
Vendor-released patch: Apache Airflow 3.2.0. If immediate patching is not feasible, implement network-level controls to restrict unauthenticated API access via WAF rules or IP allowlisting, and monitor API error responses for database schema enumeration patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apache Airflow
View allRemote code execution in Apache Airflow before 3.3.0 lets a DAG author embed a malicious trigger whose attacker-controll
Arbitrary code execution on every CeleryExecutor worker is possible for anyone who can write messages to the deployment'
Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value tha
Unsafe deserialization in Apache Airflow 3.3.0's Task SDK allows an authenticated DAG author to cause arbitrary module i
Deserialization of task-written XCom values inside the Apache Airflow scheduler allows a Dag author to execute code in a
Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution i
Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserve
Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate priv
Apache Airflow 3.2.0 through 3.3.x accepts Dag run `conf` payloads containing reserved serde keys such as `__classname__
Unsafe XCom templating in Apache Airflow's documented example DAG (`example_xcom.py`) allowed an authenticated UI user w
CVE-2026-30911 is a security vulnerability (CVSS 8.1) that allows any authenticated task instance. High severity vulnera
Apache Airflow's logout handler reports success even when server-side token revocation fails, so a stolen or copied Airf
EUVD-2026-23662
GHSA-w7cf-2pmc-5m4c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB