Read the docs

Apache Airflow exposes DAG stack traces to unauthorized users

Priority MEDIUM 42CWE-285Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-285.

Summary

Apache Airflow from 0 before 3.4.0 returns the raw parse-failure stack trace of a file to any user with the ImportError.can_read permission when that file has no registered DAG. This happens when a file fails to parse before any DAG is defined, or when its DAGs are removed but the parse error remains (CWE-285). Those users can read stack traces that may expose file paths and code for files they should not see.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the CNA

Apache Airflow's public Import Errors API returns the raw parse-failure stack trace to any user with the `ImportError.can_read` permission when the failing file has no registered DAG. This happens when a file fails to parse before any DAG is defined, or when all of its previously registered DAGs are removed but the parse error remains. Users who should not see that file's details can read stack traces that may expose file paths and code. Users are advised to upgrade to Apache Airflow 3.4.0 or later, which restricts these stack traces to users with the new `IMPORT_ERRORS_ALL` permission.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00414 36th percentileScored 2026-11-16
Fix Fixed Apache Airflow (Apache Software Foundation): 3.4.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Airflowbefore 3.4.03.4.0Patch availableCNA
  • Apache Airflow VendorApache Affected before 3.4.0 Fixed in 3.4.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*——Apache
  • cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* Versions — — ·Apache

Remediation

Upgrade Apache Airflow to 3.4.0 or later, which restricts these stack traces to users with the new IMPORT_ERRORS_ALL permission.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.4.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Apache Airflow 3.4.0

    17 records Highest priority Priority MEDIUM 7 MEDIUM, 10 LOW

    Other records, highest priority first

    • TI-2026-87039 Missing authentication in Apache Airflow CeleryExecutor callbacksPriority MEDIUM 50
    • TI-2026-87035 Shell command injection in Apache Airflow example DagPriority MEDIUM 48
    • TI-2026-87024 Deserialization flaw in Apache Airflow Dag run confPriority MEDIUM 42

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-40913
  2. 2026-11-09 Alias added: GHSA-r5cg-4fxg-38f2
  3. 2026-11-12 CVSS score added · CISA ADP
  4. 2026-11-12 CISA SSVC decision points changed
  5. 2026-11-12 Priority changed: LOW → MEDIUM

References

  • TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
  • TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-18186 Remote command execution in Apache HugeGraph-Server via Gremlin KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25106 Apache ActiveMQ OpenWire deserialization allows remote code execution KEVCVSS 3.1CRITICAL 10.0
See all 4172 →

Sources