CVE-2026-40913: Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement

Published Nov 9, 2026
·
Updated

Apache Airflow's public Import Errors API returns the raw parse-failure stack trace to any user with the ImportError.canread 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 IMPORTERRORSALL permission.

Affected Software

2 affected componentsFixes available
Apache Airflow<3.4.0
bitnami/airflow<3.4.0
3.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bitnami/airflow to a version that resolves this vulnerability.

    Fixed in 3.4.0
  2. Upgrade

    Upgrade Apache Airflow to a version that resolves this vulnerability.

    Fixed in 3.4.0

Event History

Nov 9, 2026
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
DescriptionWeakness
Data Sourced
via NVD·10:17 AM
DescriptionWeakness
Nov 12, 2026
Data Sourced
via NVD·04:19 PM
Severity
Nov 13, 2026
Data Sourced
via OSV·02:47 AM
Severity
Nov 27, 2026
Advisory Published
via OSV·05:39 AM
Data Sourced
via OSV·05:39 AM
Affected Software

Frequently Asked Questions

1

Which users can retrieve the exposed stack traces?

Any user granted the ImportError.can_read permission can retrieve raw parse-failure stack traces for an affected file when that file has no registered DAG. In affected releases, access is not further restricted based on per-file DAG permissions.

2

When is a file affected by the missing per-file authorization check?

The issue applies when a file fails to parse before defining any DAG, or when all DAGs previously registered from that file have been removed while its parse error remains. Files with no registered DAG are the condition that causes the incomplete authorization enforcement.

3

What information could be disclosed?

The Import Errors API returns the raw parse-failure stack trace. These traces may reveal file paths and source-code details to users who should not be able to view the failing file's details.

4

What remediation is available?

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

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203