CVE-2026-40913

High

Description

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.

SeverityHigh
CVSS8.2
Exploit probability—
ProductApache Airflow
PublishedNov 9, 2026
First seenNov 9, 2026
Weakness typeCWE-285CWE-285

How to fix

Update
  • Apache Software Foundation Apache Airflow3.4.0 or later

Affected products

ProductAffected versionsFixed in
Apache Software Foundation Apache Airflowv < 3.4.03.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.