PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-40913 Apache Software Foundation CVE debrief

CVE-2026-40913 debrief: Apache Airflow's public Import Errors API may expose file paths and code via stack traces to users with the `ImportError.can_read` permission when a file fails to parse and has no registered DAG. The vulnerability occurs when a file fails to parse before any DAG is defined or when all 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. Defenders should assess exposure and prioritize upgrading to Apache Airflow 3.4.0 or later to restrict access to these stack traces.

Vendor
Apache Software Foundation
Product
Apache Airflow
CVSS
HIGH 8.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-09
Original CVE updated
2026-11-12
Advisory published
2026-11-09
Advisory updated
2026-11-12

Who should care

Defenders responsible for Apache Airflow deployments should assess exposure and prioritize upgrading to Apache Airflow 3.4.0 or later. They should also review and restrict access to the Import Errors API, monitor for potential exposure, and verify affected deployments.

Why it matters

CVE-2026-40913: Apache Airflow's public Import Errors API may expose sensitive information via stack traces; defenders should prioritize upgrading and restricting access.

  • Potential exposure of file paths and code via stack traces
  • Need to verify and restrict access to Import Errors API
  • Priority on upgrading to Apache Airflow 3.4.0 or later for restricted access

Technical summary

Apache Airflow's public Import Errors API returns raw parse-failure stack traces to users with the `ImportError.can_read` permission when a file fails to parse and 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. The vulnerability allows users who should not see that file's details to read stack traces that may expose file paths and code. Upgrading to Apache Airflow 3.4.0 or later restricts these stack traces to users with the new `IMPORT_ERRORS_ALL` permission.

Defensive priority

Defenders should prioritize upgrading to Apache Airflow 3.4.0 or later to restrict stack traces to users with the `IMPORT_ERRORS_ALL` permission.

Recommended defensive actions

  • Upgrade to Apache Airflow 3.4.0 or later
  • Restrict access to Import Errors API
  • Monitor for potential exposure
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, but evidence is limited regarding potential exploitation and affected versions. The vulnerability was publicly disclosed and details are available in the CVE record and NVD entry. However, additional verification is needed to confirm affected deployments and assess potential exposure.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-40913 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-40913

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-40913 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40913

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.