Skip to main content

Apache Airflow CVE-2026-30912

| EUVDEUVD-2026-23662 HIGH
Exposure of Resource to Wrong Sphere (CWE-668)
2026-04-18 apache GHSA-w7cf-2pmc-5m4c
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted API request
  2. Delivery
    Trigger SQL exception in metadata database
  3. Exploit
    Receive stack trace in HTTP response
  4. Execution
    Extract schema details and filesystem paths
  5. Persist
    Map database structure
  6. Impact
    Identify 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Apr 20, 2026 - 17:54 CVSS 7.5

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

Apache Airflow 0 <3.2.0

Affected Packages

pypi apache-airflow fix: 3.2.0
pypi apache-airflow-core fix: 3.2.0

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

Vendor (apache) PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
Analysis Updated
Apr 21, 2026 - 14:59 vuln.today
v2 - CVSS changed
CVSS changed
Apr 20, 2026 - 17:52 NVD
7.5 (HIGH)
Patch released
Apr 18, 2026 - 07:00 nvd
Patch available
CVE Published
Apr 18, 2026 - 06:20 nvd
HIGH 7.5

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-33264 CRITICAL
9.8 Jul 07

Remote code execution in Apache Airflow before 3.3.0 lets a DAG author embed a malicious trigger whose attacker-controll

CVE-2026-68982 CRITICAL
9.8 Nov 09

Arbitrary code execution on every CeleryExecutor worker is possible for anyone who can write messages to the deployment'

CVE-2026-111421 HIGH
8.8 Nov 09

Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value tha

CVE-2026-67587 HIGH
8.8 Aug 12

Unsafe deserialization in Apache Airflow 3.3.0's Task SDK allows an authenticated DAG author to cause arbitrary module i

CVE-2026-86829 HIGH
8.8 Nov 09

Deserialization of task-written XCom values inside the Apache Airflow scheduler allows a Dag author to execute code in a

CVE-2026-58076 HIGH
8.8 Aug 12

Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution i

CVE-2026-33858 HIGH
8.8 Apr 13

Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserve

CVE-2026-30898 HIGH
8.8 Apr 18

Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate priv

CVE-2026-111395 HIGH
8.2 Nov 09

Apache Airflow 3.2.0 through 3.3.x accepts Dag run `conf` payloads containing reserved serde keys such as `__classname__

CVE-2025-54550 HIGH
8.1 Apr 15

Unsafe XCom templating in Apache Airflow's documented example DAG (`example_xcom.py`) allowed an authenticated UI user w

CVE-2026-30911 HIGH
8.1 Mar 17

CVE-2026-30911 is a security vulnerability (CVSS 8.1) that allows any authenticated task instance. High severity vulnera

CVE-2026-113508 HIGH
7.5 Nov 09

Apache Airflow's logout handler reports success even when server-side token revocation fails, so a stolen or copied Airf

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy