Skip to content
VulniPulse
Advisory severityLowApache Software Foundation Updated

Low [CVE-2026-40913] 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 low-severity Apache Software Foundation advisory covers CVE-2026-40913 affecting Apache Airflow.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-40913 Source published Source updated

VulniPulse record published Record updated

CVE-2026-40913
Affected products & platforms
Apache Software FoundationAirflow
Open source advisory

Summary

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.

Is CVE-2026-40913 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2026-40913 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.

How do I fix CVE-2026-40913?

Upgrade to a fixed release named by Apache:

  • 3.4.0

Confirm against the vendor advisory before you patch.

Affected versions
  • Apache Airflow before 3.4.0

Official advisory · high-confidence parse· fetched 1 day ago·verify at source

Fixed versions
  • 3.4.0

Official advisory · high-confidence parse· fetched 1 day ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • 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.

Official advisory · high-confidence parse· fetched 1 day ago·verify at source

Get an email when Apache Airflow publishes the next one.

See Apache Airflow's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Apache Airflow
All Apache Software Foundation advisories

iPhone and Android apps · New on the App Store

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.